make mails work with new settings