got the mail server working by using sendgrid and cloud elements