Chinese Basic 2
Leisure

and

(gěi) 'to, for' and (wèi) 'for' respectively indicate the recipient and the beneficiary of the action expresed by the verb following it.

Examples:

我给你发电子邮件。 specifies the recipient of the action
他为我定做了计划。 specifies the beneficiary of the action