CE-311 Removing double email sending
CE-311 Replacing not defined  with class field
CE-311 Combining number of if's for visibility
CE-311 Combining changeUserEmail and changeTempUserEmail methods to preserve old name (changeTempUserEmail) as it's available via API