Mailer working.
fixed configs.
Enabled mailer tests.