better mail url debugging