bugfix: old php version, use global email if not set