Changed debug mail

Added rawUrlEncode
Added baseurl