simplify email usage and interface with API based transports