managing duplicate emails