custom base mail form in the factory

This allows one to subclass the MailFactory with a custom base MailForm