delete-no-email-contacts
Skill by TomGranot
Deletes contacts with no email address from a HubSpot CRM instance. It is built for HubSpot Marketing Hub users who want to remove contacts that cannot receive communication and inflate billing.
Install delete-no-email-contacts
Built from the published package, never by AI.
git clone --depth 1 https://github.com/TomGranot/hubspot-admin-skills /tmp/hubspot-admin-skills && mkdir -p ~/.claude/skills && cp -r /tmp/hubspot-admin-skills/skills/delete-no-email-contacts ~/.claude/skills/delete-no-email-contactsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install delete-no-email-contacts in Claude Code
git clone --depth 1 https://github.com/TomGranot/hubspot-admin-skills /tmp/hubspot-admin-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/hubspot-admin-skills/skills/delete-no-email-contacts ~/.gemini/antigravity-cli/skills/delete-no-email-contactsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install delete-no-email-contacts in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The delete-no-email-contacts skill removes contacts that have no email address from a HubSpot CRM instance. The source says these contacts cannot receive marketing emails, sales sequences or transactional messages, and that they inflate the billed contact count. It follows four stages: plan, before, execute and after. The before stage counts matching contacts and saves a baseline, and the execute stage collects their IDs, writes an audit CSV and batch-archives them in groups of 100.
The execute step has a hard-coded abort threshold of 500 contacts and asks for typed confirmation. Deleted contacts can be recovered for 90 days from HubSpot Settings > Data Management > Deleted Objects. The skill is aimed at HubSpot administrators who need to clean up their contact database. It requires a HubSpot service key with contact read and write scopes, plus Python 3.10 or later and uv.
Written from the project's SKILL.md and checked against it.
What it can do
- Count contacts with no emailSearches the CRM for contacts without an email property and reports the total.
- Export audit CSVSaves each contact's ID, name and create date to a CSV before any deletion.
- Batch archive contactsArchives contacts in groups of up to 100 IDs per API call.
- Abort on large countsExits without deleting anything if more than 500 contacts are found.
- Verify removalRe-runs the search after deletion to confirm no matching contacts remain.
What you need
- HubSpot service key with crm.objects.contacts.read and crm.objects.contacts.write scopes
- Python 3.10 or later
- uv for package management
- .env file containing HUBSPOT_ACCESS_TOKEN
Try asking
- Count HubSpot contacts that have no email address.
- Export a CSV audit of contacts with no email before deleting them.
- Archive HubSpot contacts with no email, then confirm none remain.
Good to know
- Abort threshold is hard-coded at 500 contacts by default.
- Deleted contacts are recoverable for 90 days only.
- The Search API returns at most 10,000 results per query.
- The batch archive API is more restrictive, so the script waits 0.5 seconds between calls.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/delete-no-email-contacts/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to delete-no-email-contacts
All alternatives →Scores inbound HubSpot leads on engagement, company fit and urgency, then ranks the ones worth a call today. Built for sales owners who need to decide who to call first.
Builds a ranked list of prospects by deriving an ideal customer profile from existing customers. It finds look-alike companies and decision-makers, then scores them. Built for owners who need new customers.
Writes prospect outreach and follow-up sequences in the owner's own voice, learned from their sent mail. Queues every send for approval and logs each touch to the CRM. Runs draft-only when no mail connector is available.
Writes and runs B2B cold outbound, including cold emails, follow-up sequences, LinkedIn messages and multichannel cadences. Built for sales development and outbound teams that want replies rather than template blasts.
Speed to Lead checks inbound inquiries from web forms, the shared inbox, and the CRM, then drafts replies for the owner to approve. It is for owners who lose leads because nobody replies fast enough.
Helps write, build and improve B2B cold email and follow-up sequences for prospects who did not opt in. Covers SDR and founder outreach.
Compare with lead-triage, lead-finder or outreach-composer
delete-no-email-contacts: common questions
Can deleted contacts be restored?
Yes, the source says deleted contacts can be restored for 90 days from HubSpot Settings > Data Management > Deleted Objects.
Which HubSpot token scopes does it need?
It needs crm.objects.contacts.read and crm.objects.contacts.write. The source says an existing legacy private app token also works.
What if new contacts without email keep appearing?
The source warns that an integration, form or import may be creating them, so the root cause should be investigated after deletion.
How do I install delete-no-email-contacts?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is delete-no-email-contacts free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is delete-no-email-contacts safe to use?
It scores 58 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to delete-no-email-contacts?
Similar skills: lead-triage, lead-finder, outreach-composer, cold-email.
