mailtrap-managing-contacts
What it does
This tool helps manage your marketing contact list. You can add, update, or import contacts, organize them into lists, and add extra information like name and company.
When to use it
- ✓When you need to add many contacts at once.
- ✓To organize your contacts into specific groups (lists).
- ✓To add custom information to each contact, like name or company.
Skill link
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/mailtrap-managing-contacts/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Import 100 contacts from my CSV file to the 'VIP Customers' list and add the 'Company' field.”
5 new skills a week. 1 minute to read.
How it works
The tool connects to your Mailtrap account and uses commands to add, remove, or update information for your contacts. It can do this individually or in large batches.
Technical content (original SKILL.md)
Original text by the author, straight from 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 '{
…
FAQ
What are 'lists' and 'custom fields'?
Lists are groups of contacts you create, like 'Newsletter' or 'Customers'. Custom fields are extra pieces of information you can add to each contact, such as 'First Name', 'Last Name', or 'Company'.
Can I import contacts from a file?
Yes, you can import contacts in bulk from a file, like a CSV, into your lists.
Does this tool send emails?
No, this tool only manages contacts. To send emails, you would need to use a different tool like 'mailtrap-sending-emails'.
Details
Original description by the author
Manage Mailtrap contacts, lists, segments, custom fields, imports, CRM syncs, and campaign audiences through the UI or API.
Popularity
- GitHub stars
- 48k
- Ranking position
- #5133
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
00-andruia-consultant
48kHelps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
007
48kLets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
10-andruia-skill-smith
48kHelps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
20-andruia-niche-intelligence
48kLets your agent create a summary about a specific industry. It's useful for understanding the context, rules, usage patterns, and risks of a project, using reliable sources.
Similar skills
discord-user-post
394kLets your agent post a message you have approved to Discord as you, through the Discord desktop app, after confirming the exact channel.
configure-channel
394kTeaches your agent to connect a chat app such as Telegram to OpenClaw, store the bot token safely, and check that messages flow.
discord
394kHelps your agent read, send, edit, and react to Discord messages through OpenClaw, checking the exact message before making changes.