continue for loop if mail is already null to prevent unnecessary saving