rapidmail MCP by usefulapi

v1.28.1
io.usefulapi/rapidmail Checked 3 days ago Published 1 day ago

Read 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.

ParameterTypeDescription
pageintegerPage 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}.

ParameterTypeDescription
recipientlist_id *integerrapidmail 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.

ParameterTypeDescription
from *stringStart date, yyyy-mm-dd.
recipientlist_id *integerrapidmail recipient list id.
to *stringEnd 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.

ParameterTypeDescription
recipientlist_id *integerrapidmail recipient list id (see rapidmail_list_recipientlists).
emailstringOnly the recipient with this e-mail address.
foreign_idstringOnly the recipient with this external id.
include_extrabigbooleanAlso return the long text fields extrabig1-10 (default false).
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
sort_bystringSort field.
sort_orderstringSort direction.
statusarrayOnly 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}.

ParameterTypeDescription
recipient_id *integerrapidmail 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.

ParameterTypeDescription
email *stringE-mail address of the recipient.
recipientlist_id *integerrapidmail recipient list id to add the recipient to.
birthdatestringBirth date, yyyy-mm-dd.
double_opt_inbooleantrue (default): status 'new' and a confirmation e-mail is sent to the address. false: status 'active', no e-mail (only with documented consent).
extra1stringCustom field 1 (max 255 characters).
extra10stringCustom field 10 (max 255 characters).
extra2stringCustom field 2 (max 255 characters).
extra3stringCustom field 3 (max 255 characters).
extra4stringCustom field 4 (max 255 characters).
extra5stringCustom field 5 (max 255 characters).
extra6stringCustom field 6 (max 255 characters).
extra7stringCustom field 7 (max 255 characters).
extra8stringCustom field 8 (max 255 characters).
extra9stringCustom field 9 (max 255 characters).
firstnamestringFirst name.
foreign_idstringYour own external id for this contact.
genderstringGender.
lastnamestringLast name.
mailtypestringPreferred mail format.
test_modebooleantrue: validate only, nothing is saved and no e-mail is sent.
titlestringAcademic title, e.g. Prof. Dr.
zipstringPostal 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}.

ParameterTypeDescription
recipient_id *integerrapidmail recipient id.
birthdatestringBirth date, yyyy-mm-dd.
emailstringNew e-mail address.
extra1stringCustom field 1 (max 255 characters).
extra10stringCustom field 10 (max 255 characters).
extra2stringCustom field 2 (max 255 characters).
extra3stringCustom field 3 (max 255 characters).
extra4stringCustom field 4 (max 255 characters).
extra5stringCustom field 5 (max 255 characters).
extra6stringCustom field 6 (max 255 characters).
extra7stringCustom field 7 (max 255 characters).
extra8stringCustom field 8 (max 255 characters).
extra9stringCustom field 9 (max 255 characters).
firstnamestringFirst name.
foreign_idstringYour own external id for this contact.
genderstringGender.
lastnamestringLast name.
mailtypestringPreferred mail format.
titlestringAcademic title, e.g. Prof. Dr.
zipstringPostal 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}.

ParameterTypeDescription
recipient_id *integerrapidmail 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.

ParameterTypeDescription
created_sincestringOnly mailings created since this date/time.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
recipientlist_idintegerOnly mailings sent to this recipient list.
sent_fromstringOnly mailings sent from this date/time.
sent_tostringOnly mailings sent up to this date/time (after sent_from).
sort_bystringSort field.
sort_orderstringSort direction.
statusstringMailing status, e.g. draft, scheduled, sending, sent.
updated_sincestringOnly 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}.

ParameterTypeDescription
mailing_id *integerrapidmail 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.

ParameterTypeDescription
mailing_id *integerrapidmail 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.

ParameterTypeDescription
mailing_id *integerrapidmail mailing id.
pageintegerPage 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}.

ParameterTypeDescription
mailing_id *integerrapidmail mailing id.
mailingrecipient_id *integerThe 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.

ParameterTypeDescription
created_sincestringOnly entries created since this date/time.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
page_sizeintegerEntries per page, 1-1000 (default 25).
patternstringOnly entries matching this pattern.
updated_sincestringOnly 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.

ParameterTypeDescription
date_fromstringFrom date, yyyy-mm-dd (not older than the account's retention).
date_tostringTo date, yyyy-mm-dd.
fromstringSender name or address.
has_attachmentsbooleanOnly mails with (true) or without (false) attachments.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
project_idarrayOnly these transactional-mail project ids.
statusarrayOnly these delivery statuses.
subjectstringSubject text.
tostringRecipient name or address.