updated mailer to use Mandril