email now includes referred url, session data, and request data