We need individual coupon codes and affiliate links

I think it would be really good to have an affiliate program where influencers can promote the store using a specific link and they get the commission.

We also need coupon codes that allow customers to only use it once per user. For example, say I send users a code for 15% off (SAVE15) when they sign up using email, i want to make it so only their first purchase allows the discount. Is it too much manual work to send a different code to each different user. Surely this could be regulated maybe by address, payment details or email used in the payment process.