Fix for mails without SMTP settings in install