Replace text fields with email where needed