add conflict_email function