Preventing email duplications