mailer and ui updates