check if sending mail is enabled