send email with debug info