debug mail ajax