Append the sender's email signature to outbound emails #21194
sherifkozman
started this conversation in
Ideas
Replies: 2 comments
|
Limitations: "IMAP/SMTP would need a stored-signature approach" Yes please! We don't use gmail and would like this feature. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Scenario
When a user sends an email from Twenty through a connected Google account (the record composer, the AI send-email tool, or the workflow Send Email action), the email arrives without their signature.
This is because a Gmail signature is applied only by the Gmail web/mobile compose UI — the Gmail API (
users.messages.send) does not append it — and Twenty's outbound path has no signature handling. So every email sent from Twenty goes out unsigned, which is a problem for sales/support teams who rely on their work signature (name, title, company, disclaimer) on outbound mail.Proposed solution
Read the sender's default signature from the Gmail
users.settings.sendAsAPI and append it to the outgoing message, at the single provider-dispatch point (MessagingMessageOutboundService.sendMessage) so all send paths are covered.sendAssettings is already covered by thegmail.readonlyscope connected accounts hold (the existingGoogleEmailAliasManagerServicecalls the same endpoint).Known limitations / open questions for discussion
Reference implementation
I have a working implementation (verified end-to-end on a self-hosted instance) in #21169 — happy to align it with whatever direction is preferred here before review.
All reactions