sending email to the user when they request an invite
added check so that the addInviteToqueue method only adds the email if it does not yet exist in the database