migrating-from-email-providers
БесплатноБез исполняемых скриптовНе проверенMove a team from an email API provider such as Resend, Postmark, SendGrid, Mailgun or Mailchimp to PostHog: import the suppression list, unsubscribes, topics…
от PostHog★ 81 звезда на GitHubОб этом скилле
Moving from another email provider
PostHog copies a team's data in one background import. The team then sets up DNS, reviews what the import flagged, and moves its sending one email at a time.
Call provider-imports-providers first. It lists the tools this project can import from, the steps of each, and the next steps to read out at the end. If the team's tool isn't listed, the import isn't turned on for this project, so stop and say so.
The sections below use Resend as the example. For Postmark, also read Postmark, for SendGrid, SendGrid, for Mailgun, Mailgun, and for Mailchimp, Mailchimp.
What moves
| Data | In PostHog | What the team does |
|---|---|---|
| Suppression list | Suppression list | Reads the summary |
| Contacts and segments | People, matched by email, and a static cohort per segment | Checks the people and cohorts |
| Unsubscribed contacts | Opted out of all marketing email | Nothing |
| Topics and topic choices | Marketing categories and opt-outs | Checks topics that only send to people who opted in |
| Templates | Library templates, keyed by alias | Fixes what the notes mention, then sends a test |
| Automations | Draft workflows | Sends trigger events to PostHog, reviews, enables |
| Domains | A list only | Adds each domain and publishes new DNS records |
API keys, webhooks, send history and stats stay with the old provider. The contacts step fills in what the person whose email matches each contact lacks, without changing values PostHog already has, and new_people creates a person for each contact no one matches, with the email as the ID. Resend's contact_properties copies custom contact properties the same way. Each person written counts as one billable event.
Steps
- Confirm the project. Read it with
project-get, tell the user its name and id, and ask whether the data belongs there. If not, switch withswitch-project. - Check for a running import.
provider-imports-list. A new start while one is active returns 409, so report on that run instead of asking for a key. - Get a key. Resend has no read-only keys, so the import needs a full access key. Ask the user to create one at https://resend.com/api-keys, just for this import. Tell them PostHog only reads from their account and deletes the key when the run ends. Treat the key as a secret: don't repeat it, log it or write it to a file. They can also run the import themselves in the app under Workflows, Opt-outs, Import from another tool.
- Choose the steps. Take them all unless the user says otherwise. Before including
new_people, tell the user how many contacts they have and that each new person counts as one event, and leave it out if they'd rather not create people. Automations also needcohort:writeon a PostHog key with limited scopes, andcontacts,new_peopleandcontact_propertiesneedcohort:writeandperson:write. On a refusal that names one, drop those steps or ask the user for that scope. Where image copying is turned on, the import also copies the images Mailchimp, SendGrid or Resend hosts for an email into the media library. That needsuploaded_media:writeand edit access to the library, and without it the notes say which images stay behind. Postmark and Mailgun don't host images.topic_opt_outsandcontact_propertiesread contacts one at a time, about 7,000 an hour each. On a very large list, say so and offer to skip it. The largest account an import takes, 250,000 contacts, needs about a day and a half for each of these steps, and a run can take up to four days. If a run stops early, the next import from Resend continues from where it stopped, but only with the same key, so the user keeps the key until every step has finished. - Start.
provider-imports-createwithprovider,stepsandapi_key. - Follow it. Poll
provider-imports-getevery minute or so. Arunningstep with alast_erroris retrying by itself, so don't start again. Report each step'scounts. - Handle failure.
status: failedmeans the key is gone too. Readlast_error: a rejected key needs a new key, anything else can run again. Importing again adds what's missing and doesn't duplicate anything. - Report the notes. Go through
itemswith the user: each template and workflow with its link and notes. A link is a path i
Установить migrating-from-email-providers в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл migrating-from-email-providers?
Move a team from an email API provider such as Resend, Postmark, SendGrid, Mailgun or Mailchimp to PostHog: import the suppression list, unsubscribes, topics, mailing lists, templates and automations with the provider-imports tools, then walk through DNS, template review and the cutover. Use when asked to migrate, move, switch, copy or import from Resend, Postmark, SendGrid, Mailgun or Mailchimp to PostHog, "switch to PostHog", or to bring suppressions, unsubscribes, email templates or the images they use from another provider. For Customer.io automations use migrating-from-customer-io.
Как установить скилл migrating-from-email-providers?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл migrating-from-email-providers запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic