Just put all needed email parameters in the same struct.