Exercise 17: Advanced email security