Email Security: An Overview of Threats and Safeguards