Pass configuration to email sender instead of parms