# n8n community node

Send **Groundmail** transactional email from [n8n](https://n8n.io) workflows with the community package [`n8n-nodes-groundmail`](https://github.com/Groundmail/n8n-nodes-groundmail).

It uses your Groundmail API key (`gm_…`) and calls `api.groundmail.dev`.

## Install

In n8n: **Settings → Community Nodes → Install** → `n8n-nodes-groundmail`.

Self-hosted alternative:

```bash
npm install n8n-nodes-groundmail
```

## Credentials

1. Create an API key in the Groundmail dashboard (`gm_…`).
2. In n8n, add **Groundmail API** credentials with that key.
3. Leave **API Base URL** as `https://api.groundmail.dev` unless you use a custom deployment.

## Send an email

1. Add the **Groundmail** node.
2. Resource: **Email** → Operation: **Send**.
3. Set **From** (verified domain), **To**, **Subject**, and **HTML** and/or **Text**.
4. Optional: Reply-To, CC/BCC, idempotency key, schedule, template id, unsubscribe.

The node maps to `POST /emails`. See [Send emails](https://docs.groundmail.dev/emails).

## Other operations

| Operation | Use |
|-----------|-----|
| Get | Fetch one email by id |
| Get Many | List recent sends (limit + cursor) |

## Verification status

The node is MIT-licensed, has no runtime dependencies, and calls the Groundmail API directly. Source: [Groundmail/n8n-nodes-groundmail](https://github.com/Groundmail/n8n-nodes-groundmail).
