delete-no-email-contacts

Installation
SKILL.md

Delete Contacts With No Email Address

Purpose

Contacts without an email address serve no functional purpose in a HubSpot Marketing Hub instance. They cannot receive marketing emails, sales sequences, or transactional messages. They inflate the billed contact count. This skill identifies and deletes them via the API.

Prerequisites

  • A HubSpot private app access token with crm.objects.contacts.read and crm.objects.contacts.write scopes
  • Python 3.10+ with uv for package management
  • A .env file containing HUBSPOT_ACCESS_TOKEN

Scripts

Stage Script Run with
Before scripts/before.py uv run skills/delete-no-email-contacts/scripts/before.py
Execute scripts/execute.py uv run skills/delete-no-email-contacts/scripts/execute.py
After scripts/after.py uv run skills/delete-no-email-contacts/scripts/after.py
Installs
22
GitHub Stars
56
First Seen
Apr 9, 2026
delete-no-email-contacts — tomgranot/hubspot-admin-skills