feat(resend): expand integration with contacts, domains, and enhanced email ops#3366
Merged
waleedlatif1 merged 1 commit intostagingfrom Feb 27, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Greptile SummaryExpanded the Resend integration from a single send email operation to a comprehensive suite of 8 operations covering email sending, retrieval, contact management, and domain listing. Key Changes:
Architecture: Confidence Score: 4/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Resend Block] --> B{Operation Dropdown}
B -->|send_email| C[Send Email Route]
B -->|get_email| D[Get Email Tool]
B -->|create_contact| E[Create Contact Tool]
B -->|list_contacts| F[List Contacts Tool]
B -->|get_contact| G[Get Contact Tool]
B -->|update_contact| H[Update Contact Tool]
B -->|delete_contact| I[Delete Contact Tool]
B -->|list_domains| J[List Domains Tool]
C --> K[Validate Params]
K --> L{ContentType?}
L -->|html| M[Set HTML + Text]
L -->|text| N[Set Text Only]
M --> O[Add Optional Fields]
N --> O
O --> P{Tags Present?}
P -->|yes| Q[Parse Tags with indexOf/substring]
P -->|no| R[Build Email Data]
Q --> R
R --> S[Resend API: Send Email]
D --> T[Resend API: GET /emails/:id]
E --> U[Resend API: POST /contacts]
F --> V[Resend API: GET /contacts]
G --> W[Resend API: GET /contacts/:id]
H --> X[Resend API: PATCH /contacts/:id]
I --> Y[Resend API: DELETE /contacts/:id]
J --> Z[Resend API: GET /domains]
S --> AA[Return Success + Email ID]
T --> AB[Return Email Details]
U --> AC[Return Contact ID]
V --> AD[Return Contacts Array]
W --> AE[Return Contact Details]
X --> AF[Return Updated Contact ID]
Y --> AG[Return Deleted Status]
Z --> AH[Return Domains Array]
Last reviewed commit: 350d864 |
a6a0759 to
3b3913b
Compare
3b3913b to
6fcc661
Compare
6fcc661 to
02d818b
Compare
Collaborator
Author
|
@cursor review |
Collaborator
Author
|
@greptile |
02d818b to
529d5ed
Compare
529d5ed to
e77cafa
Compare
e77cafa to
350d864
Compare
Collaborator
Author
|
@cursor review |
Collaborator
Author
|
@greptile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Type of Change
Testing
Tested manually
Checklist