Fix error when sending user e-mails