fix contactemailcontroller so it gets ids for existing emails rather than failing on duplicate