Add MailManager

Add MailManager class for sending mails.