add settings for sendemail