finishing mailer backend