rapidmail MCP by usefulapi
v1.28.1Read rapidmail lists, recipients, mailings and stats; add, update or unsubscribe one recipient.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
rapidmail_list_recipientlists List recipient lists
List the recipient lists (newsletter audiences) of the rapidmail account with id, name, description, whether unsubscribed recipients are blacklisted, and which is the default. Use the ids for recipients and mailing filters. GET /recipientlists.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
rapidmail_get_recipientlist Get recipient list
One recipient list by id. GET /recipientlists/{id}.
| Parameter | Type | Description |
|---|---|---|
recipientlist_id * | integer | rapidmail recipient list id. |
rapidmail_get_recipientlist_activity_stats Get recipient list activity stats
Subscription activity of one recipient list between two dates (for example new subscriptions and unsubscriptions). The range may be at most one year, must not start before the list was created and must not lie in the future. GET /recipientlists/{id}/stats/activity.
| Parameter | Type | Description |
|---|---|---|
from * | string | Start date, yyyy-mm-dd. |
recipientlist_id * | integer | rapidmail recipient list id. |
to * | string | End date, yyyy-mm-dd; later than from. |
rapidmail_list_recipients List recipients
List the recipients (subscribers) of ONE recipient list, optionally filtered by e-mail address, external id or status. recipientlist_id is required. The long text fields (extrabig1-10) are only returned with include_extrabig. GET /recipients.
| Parameter | Type | Description |
|---|---|---|
recipientlist_id * | integer | rapidmail recipient list id (see rapidmail_list_recipientlists). |
email | string | Only the recipient with this e-mail address. |
foreign_id | string | Only the recipient with this external id. |
include_extrabig | boolean | Also return the long text fields extrabig1-10 (default false). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
sort_by | string | Sort field. |
sort_order | string | Sort direction. |
status | array | Only recipients in these statuses: new (awaiting confirmation), active, bounced, abused, deleted. |
rapidmail_get_recipient Get recipient
One recipient by id: e-mail, name, status, custom fields and timestamps. GET /recipients/{id}.
| Parameter | Type | Description |
|---|---|---|
recipient_id * | integer | rapidmail recipient id. |
rapidmail_create_recipient Add recipient
WRITE: add ONE recipient (subscriber) to a recipient list. By default double opt-in is used: the recipient is created with status 'new' and rapidmail sends ONE confirmation e-mail to that address; they only receive newsletters after confirming. Set double_opt_in=false only if you hold the person's documented consent: the recipient is then stored as 'active' and no e-mail is sent (refused if the address was unsubscribed before). If a deleted recipient with the same address exists it is re-activated; an existing address returns a conflict error. Never use for bulk imports. POST /recipients.
| Parameter | Type | Description |
|---|---|---|
email * | string | E-mail address of the recipient. |
recipientlist_id * | integer | rapidmail recipient list id to add the recipient to. |
birthdate | string | Birth date, yyyy-mm-dd. |
double_opt_in | boolean | true (default): status 'new' and a confirmation e-mail is sent to the address. false: status 'active', no e-mail (only with documented consent). |
extra1 | string | Custom field 1 (max 255 characters). |
extra10 | string | Custom field 10 (max 255 characters). |
extra2 | string | Custom field 2 (max 255 characters). |
extra3 | string | Custom field 3 (max 255 characters). |
extra4 | string | Custom field 4 (max 255 characters). |
extra5 | string | Custom field 5 (max 255 characters). |
extra6 | string | Custom field 6 (max 255 characters). |
extra7 | string | Custom field 7 (max 255 characters). |
extra8 | string | Custom field 8 (max 255 characters). |
extra9 | string | Custom field 9 (max 255 characters). |
firstname | string | First name. |
foreign_id | string | Your own external id for this contact. |
gender | string | Gender. |
lastname | string | Last name. |
mailtype | string | Preferred mail format. |
test_mode | boolean | true: validate only, nothing is saved and no e-mail is sent. |
title | string | Academic title, e.g. Prof. Dr. |
zip | string | Postal code (max 7 characters). |
rapidmail_update_recipient Update recipient
WRITE: partially update ONE recipient (only the fields you pass change): e-mail, name, custom fields. The status and the recipient list cannot be changed here, and no e-mail is sent. An e-mail address that already exists in the list returns a conflict error. PATCH /recipients/{id}.
| Parameter | Type | Description |
|---|---|---|
recipient_id * | integer | rapidmail recipient id. |
birthdate | string | Birth date, yyyy-mm-dd. |
email | string | New e-mail address. |
extra1 | string | Custom field 1 (max 255 characters). |
extra10 | string | Custom field 10 (max 255 characters). |
extra2 | string | Custom field 2 (max 255 characters). |
extra3 | string | Custom field 3 (max 255 characters). |
extra4 | string | Custom field 4 (max 255 characters). |
extra5 | string | Custom field 5 (max 255 characters). |
extra6 | string | Custom field 6 (max 255 characters). |
extra7 | string | Custom field 7 (max 255 characters). |
extra8 | string | Custom field 8 (max 255 characters). |
extra9 | string | Custom field 9 (max 255 characters). |
firstname | string | First name. |
foreign_id | string | Your own external id for this contact. |
gender | string | Gender. |
lastname | string | Last name. |
mailtype | string | Preferred mail format. |
title | string | Academic title, e.g. Prof. Dr. |
zip | string | Postal code (max 7 characters). |
rapidmail_unsubscribe_recipient Unsubscribe recipient
WRITE: remove ONE recipient from their list. rapidmail only soft-deletes the record (status 'deleted', as if the person had unsubscribed) and the statistics count it as an unsubscription. No goodbye e-mail is sent. Single recipient only. DELETE /recipients/{id}.
| Parameter | Type | Description |
|---|---|---|
recipient_id * | integer | rapidmail recipient id. |
rapidmail_list_mailings List mailings
List newsletters (mailings) with status, subject, sender, send time, recipient count and recipient lists. Filter by status, recipient list, created / updated / sent date. Read only: mailings are never created, sent or scheduled by this server. GET /mailings.
| Parameter | Type | Description |
|---|---|---|
created_since | string | Only mailings created since this date/time. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
recipientlist_id | integer | Only mailings sent to this recipient list. |
sent_from | string | Only mailings sent from this date/time. |
sent_to | string | Only mailings sent up to this date/time (after sent_from). |
sort_by | string | Sort field. |
sort_order | string | Sort direction. |
status | string | Mailing status, e.g. draft, scheduled, sending, sent. |
updated_since | string | Only mailings updated since this date/time. |
rapidmail_get_mailing Get mailing
One mailing by id: status, subject, sender, destinations (recipient lists), send time, size and attachments. GET /mailings/{id}.
| Parameter | Type | Description |
|---|---|---|
mailing_id * | integer | rapidmail mailing id. |
rapidmail_get_mailing_stats Get mailing statistics
Statistics of one sent mailing (opens, clicks, bounces, unsubscriptions and similar totals). GET /mailings/{id}/stats.
| Parameter | Type | Description |
|---|---|---|
mailing_id * | integer | rapidmail mailing id. |
rapidmail_list_mailing_activity List mailing recipient activity
The recipients a mailing went to and what each did (delivered, opened, clicked, bounced). Detailed event information is only available if the respective plugin is enabled in the rapidmail account. GET /mailings/{id}/stats/activity.
| Parameter | Type | Description |
|---|---|---|
mailing_id * | integer | rapidmail mailing id. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
rapidmail_get_mailing_recipient_activity Get one recipient's activity in a mailing
Delivery and engagement details of one recipient of one mailing. GET /mailings/{id}/stats/activity/{mailingrecipient_id}.
| Parameter | Type | Description |
|---|---|---|
mailing_id * | integer | rapidmail mailing id. |
mailingrecipient_id * | integer | The mailing-recipient id from rapidmail_list_mailing_activity. |
rapidmail_list_mailing_folders List mailing folders
The folders used to organise mailings, with id and name. GET /mailings/folders.
rapidmail_list_blacklist List blacklist entries
The account's blacklist: e-mail addresses, domains and patterns that never receive mailings, with their type, source and dates. GET /blacklist.
| Parameter | Type | Description |
|---|---|---|
created_since | string | Only entries created since this date/time. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
page_size | integer | Entries per page, 1-1000 (default 25). |
pattern | string | Only entries matching this pattern. |
updated_since | string | Only entries updated since this date/time. |
rapidmail_list_transactional_emails List transactional e-mails
Transactional (SMTP) e-mails sent through the rapidmail account: sender, recipient, subject, status (queued, delivered, bounced...), delivery diagnostics and open/click counts. Metadata only, no message bodies. Filter by date, status, project or address. GET /trx/emails.
| Parameter | Type | Description |
|---|---|---|
date_from | string | From date, yyyy-mm-dd (not older than the account's retention). |
date_to | string | To date, yyyy-mm-dd. |
from | string | Sender name or address. |
has_attachments | boolean | Only mails with (true) or without (false) attachments. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
project_id | array | Only these transactional-mail project ids. |
status | array | Only these delivery statuses. |
subject | string | Subject text. |
to | string | Recipient name or address. |