made base email configurable