dont try to send mails if there is no set