Add check for defined Config.adminEmail when debug is set to prevent mysterious and confusing email errors