Fixed email sending.