Refactored Config/advanced and New/edit smtp and mailbox profiles