add configuration to send mail