跳到正文
Skillpedia
邮件与消息48k · #5133

mailtrap-managing-contacts

它能做什么

这个工具帮助你管理营销联系人名单。你可以添加、更新或导入联系人,把他们整理到不同的列表中,还能为每位联系人添加姓名、公司等额外信息。

适用场景

  • ✓需要一次性添加大量联系人时。
  • ✓想把联系人整理到特定分组(列表)中时。
  • ✓想为每位联系人添加自定义信息(如姓名或公司)时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/mailtrap-managing-contacts/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/mailtrap-managing-contacts/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“从我的 CSV 文件中导入 100 位联系人到“VIP Customers”列表,并添加“Company”字段。”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具连接到你的 Mailtrap 账号,并通过命令来添加、删除或更新联系人信息。它既可以逐个处理,也可以批量处理。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Managing Mailtrap contacts

Overview

Before generating API request bodies: check the Contacts OpenAPI spec for current field names, required parameters, and nested structures.

Contacts are the marketing database: lists, segments, custom fields, and imports for campaign audiences and related workflows. The Contacts API automates create/update and can feed CRM or CDP sync (your code, or tools like Zapier, Make, n8n — see Import contacts).

Suppressions (hard bounces, spam complaints, unsubscribes on the sending side) live in the sending product and block delivery for those addresses on your streams. That is applied separately from marketing filters (segments, list membership, consent flags) that decide who is eligible for campaigns. For sending-side blocks, see Suppressions and mailtrap-sending-emails.

Related skills: mailtrap-sending-emails (live send paths).

When to use

  • Programmatic contact management (create, update, bulk import)
  • Sync with CRMs or data warehouses
  • Contact list cleanup and CSV import
  • Updating contacts with custom fields or firing custom events for automations
  • Segments and custom fields for audience building

Authorization

All endpoints below need Authorization: Bearer $MAILTRAP_API_TOKEN and an $MAILTRAP_ACCOUNT_ID in the path. Resolve $MAILTRAP_ACCOUNT_ID from GET https://mailtrap.io/api/accounts, and store tokens in environment variables or a secrets manager.

Endpoints (replace placeholders)

Action Method URL Reference
Create / get / update / delete contact various https://mailtrap.io/api/accounts/$MAILTRAP_ACCOUNT_ID/contacts Contacts
Bulk import (async job) POST https://mailtrap.io/api/accounts/$MAILTRAP_ACCOUNT_ID/contacts/imports Bulk import
Contact lists various https://mailtrap.io/api/accounts/$MAILTRAP_ACCOUNT_ID/contacts/lists Contact lists
Custom fields various https://mailtrap.io/api/accounts/$MAILTRAP_ACCOUNT_ID/contacts/fields Contact fields
Custom events POST https://mailtrap.io/api/accounts/$MAILTRAP_ACCOUNT_ID/contacts/{contact_identifier}/events Contact events
Export contacts various https://mailtrap.io/api/accounts/$MAILTRAP_ACCOUNT_ID/contacts/exports Export contacts
  • Rate limit (typical): 200 requests per 60 seconds per account — prefer bulk import for large loads.
  • Bulk import limit: up to 50,000 contacts per import request (async job); poll import status with GET .../contacts/imports/{import_id}. See Bulk import.

Examples (curl)

Single contact create (with custom fields)

curl -X POST "https://mailtrap.io/api/accounts/$MAILTRAP_ACCOUNT_ID/contacts" \
  -H "Authorization: Bearer $MAILTRAP_API_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{

…
常见问题

什么是“列表”和“自定义字段”?

列表是你创建的联系人分组,比如“Newsletter”或“Customers”。自定义字段是可以为每位联系人添加的额外信息,比如“First Name”“Last Name”或“Company”。

可以从文件导入联系人吗?

可以,你可以把 CSV 等文件中的联系人批量导入到列表中。

这个工具会发送邮件吗?

不会,这个工具只负责管理联系人。如果要发送邮件,你需要使用其他工具,例如 'mailtrap-sending-emails' 技能。

详情

作者的原始描述

Manage Mailtrap contacts, lists, segments, custom fields, imports, CRM syncs, and campaign audiences through the UI or API.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#5133
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能