fix mailer to look nicer, fix post-mailing flash bug