Techniques for Phishing and Spam Mitigation