Email validation, and sending mails, inviting and accepting friends through mails