Revert "Fix email sending"

This reverts commit 227abc5be279240e5efef26ac94fc01c9d6f0953.