Revert "Security update for sendEmail.php"

This reverts commit 05336d658ee35930e974d4f69c6754856b4917ad.