Adds debugging of smtp settings
Reworks split_emails