Config & mails (UNFINISHED)
fixed #2