Email code question

Are people sent email codes and boost codes at random or is there something one can do to increase their odds?

As far as im concerned i believe its random ? At least in terms of random points to use on their website.