add support for specifying sendemail config