Commented out SMTP related functions/imports
Revert "Commented out SMTP related functions/imports"

This reverts commit 073739351b1b7e36e7828231b85ba803dbcbd143.
Added (very ugly) debugging code