How can I avoid duplicated emails?