add configuration for sending emails