code updates in mailer actions