Add email filtering tests