added empty check for raw_info email as well as nil