only check email address if it is actually set