Revert "get smtp credentials from smtp config section"

This reverts commit 3e74d76b0b090e9e4f61653edf3d4ba9aa226556.