Bug 1087184: fix emailAddress toLower case issue when undefined

Issue introduced in dd6d2d72943cd5b7add4a88c753c27af021be97c