api.email now uses web.emails to send email, rather than one-off code