framework update: mailer. fix identities and register to use new mailer.