upgrade email system

http://wagn.org/upgrade_email_system 
http://wagn.org/convert_system_emails_to_flexmail_system
We need a new layout for the rule editor if want to offer all these email configuration options.