generated mailer for SendGrid API