Demo mode. Sample data, Gmail sends are dry runs (the exact API request is recorded, nothing leaves), no login. The sample data resets once a day, or now with the button.

Adjunct teaching availability: Harrow Technical University

2026-09-02 09:05 · to Ingrid Solberg <isolberg@harrowtech.edu> · Harrow Technical University · sent

Email as sent

TemplateGeneral adjunct availability
Transportgmail
Gmail message id18f00236d16ea453
Gmail thread id18f00236d16ea453

Gmail API request

users.messages.send takes one field, raw: the whole RFC 2822 message (headers, text, the PDF as a MIME part) encoded base64url. This is what was built for this email.

{
  "request": "POST https://gmail.googleapis.com/gmail/v1/users/me/messages/send",
  "authorization": "Bearer <OAuth access token, scope gmail.send>",
  "body": {
    "raw": "RnJvbTogIkRyLiBQcml5YSBSYW1hbiIgPHByaXlhLnJhbWFu... (1724 base64url characters)"
  },
  "decoded_message": {
    "headers": {
      "From": "\"Dr. Priya Raman\" <priya.raman.teaching@gmail.com>",
      "To": "Ingrid Solberg <isolberg@harrowtech.edu>",
      "Subject": "Adjunct teaching availability: Harrow Technical University",
      "Message-ID": "<178890307146.4.11903146072888650389@gmail.com>",
      "MIME-Version": "1.0",
      "Content-Type": "multipart/mixed; boundary=\"===============3249188220491445692==\""
    },
    "parts": [
      "text/plain",
      "application/pdf (attachment cv-priya-raman.pdf, 15 bytes)"
    ]
  }
}