Add action mailer, configuration for mail

please do the merge into master if you approve