configuration and command to send email