The HubSpot Email API works by providing endpoints for various email-related tasks. These endpoints can be used to create email content, manage lists of contacts, send emails, and track performance metrics like open rates and click-through rates. By using HTTP requests to interact with these endpoints, you can automate many aspects of your email marketing efforts, saving time and reducing the potential for human error.