---
title: "Send a single transactional email through your Gmail/Google Workspace account"
method: POST
path: "/api/transactional"
tags: ["Transactional"]
---

# Send a single transactional email through your Gmail/Google Workspace account

`POST /api/transactional`

## Request

- Base URL: `https://api.gmass.co`
- URL: `https://api.gmass.co/api/transactional`
- Auth: none declared

If you need to send a transactional email to just one recipient as opposed to a campaign, use this method. You can also send transactional email via the SMTP relay at smtp.gmass.co.

## Request body

- TransactionalEmail
  - `transactionalEmailId` string
  - `fromEmail` string
  - `fromName` string
  - `to` string
  - `cc` string
  - `bcc` string
  - `subject` string
  - `message` string
  - `messageRaw` string
  - `settings` TransactionalSettings
    - `openTrack` boolean
    - `clickTrack` boolean
    - `messageType` string
    - `useCustomerSmtp` boolean
    - `SmtpServerId` integer
    - `threadToCampaign` integer
    - `smtpRelay` boolean
    - `listUnsubscribeHeader` boolean

## Response `200`

OK

- TransactionalEmail
  - `transactionalEmailId` string
  - `fromEmail` string
  - `fromName` string
  - `to` string
  - `cc` string
  - `bcc` string
  - `subject` string
  - `message` string
  - `messageRaw` string
  - `settings` TransactionalSettings
    - `openTrack` boolean
    - `clickTrack` boolean
    - `messageType` string
    - `useCustomerSmtp` boolean
    - `SmtpServerId` integer
    - `threadToCampaign` integer
    - `smtpRelay` boolean
    - `listUnsubscribeHeader` boolean

---

[API](https://skmtc.dev/gmass/apis/gmass-api.md) - [All operations](https://skmtc.dev/gmass/apis/gmass-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gmass/apis/gmass-api/revisions/0498e4a9c765?raw)
