Fix email sending.