Skip to content

feat(hubspot): Read marketing emails#2969

Merged
Cobalt0s merged 1 commit into
mainfrom
cobalt0s/hubspot-marketing-emails
May 8, 2026
Merged

feat(hubspot): Read marketing emails#2969
Cobalt0s merged 1 commit into
mainfrom
cobalt0s/hubspot-marketing-emails

Conversation

@Cobalt0s
Copy link
Copy Markdown
Contributor

@Cobalt0s Cobalt0s commented May 8, 2026

Description

Add support to marketing/emails. There is already emails object under Hubspot Objects API so to we must distinguish them. Therefore the prefix is preserved.

The CRM email is called "One-to-one emails" in this article. But I am not able to find this object in the docs itself. The endpoint is very real:

image

NOTE: we could use createdAt field to filter using query params. But instead of doing this, I rely on connector-side filtering which relies on much better field -- updatedAt. Let me know if that has to change.

Live Tests

Metadata

image image

Read

image

Using connector side filtering:
image

image

Copy link
Copy Markdown
Contributor Author

Cobalt0s commented May 8, 2026

Comment thread providers/hubspot/internal/metadata/schemas.json
@Cobalt0s Cobalt0s self-assigned this May 8, 2026
@Cobalt0s Cobalt0s marked this pull request as ready for review May 8, 2026 01:09
@Cobalt0s Cobalt0s requested a review from laurenzlong May 8, 2026 01:09
Comment thread providers/hubspot/internal/core/objects.go
@Cobalt0s Cobalt0s force-pushed the cobalt0s/hubspot-marketing-emails branch from 3a46d32 to cc8ebec Compare May 8, 2026 17:25
@Cobalt0s Cobalt0s force-pushed the cobalt0s/hubspot-campaigns branch from 301d4c0 to 5701054 Compare May 8, 2026 17:25
@Cobalt0s Cobalt0s changed the base branch from cobalt0s/hubspot-campaigns to graphite-base/2969 May 8, 2026 18:02
@Cobalt0s Cobalt0s force-pushed the cobalt0s/hubspot-marketing-emails branch from cc8ebec to 4707e39 Compare May 8, 2026 18:16
@Cobalt0s Cobalt0s changed the base branch from graphite-base/2969 to main May 8, 2026 18:16
@Cobalt0s Cobalt0s force-pushed the cobalt0s/hubspot-marketing-emails branch from 4707e39 to e25320f Compare May 8, 2026 18:20
@Cobalt0s Cobalt0s merged commit 7976f60 into main May 8, 2026
6 checks passed
@Cobalt0s Cobalt0s deleted the cobalt0s/hubspot-marketing-emails branch May 8, 2026 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants