Trim email before hash

As indicated, we should ensure that email are trimed, lowercased before getting the md5 hash