Pass team to mailer for sending email, not just skip.