added config for email