adding ajax email support