added config for mailing