Skip to content

feat: Add "Reply To" address configuration for emails #662

Description

@sahare77

Description
When sending emails via the Gmail API, all replies go directly to the sender. Users might want to specify a custom Reply-To header for campaigns.

Steps to Reproduce

  1. Go to Campaign Builder.
  2. Add an Email step.
  3. Notice there's no way to set a "Reply-To" address.

Expected Behavior
Add a reply_to field in the Campaign or Email Step model. When drafting the raw email for the Gmail API, include the Reply-To header.

Implementation Hints

# backend/campaigns/services.py
from email.message import EmailMessage

msg = EmailMessage()
msg['To'] = lead.email
msg['From'] = connected_account.email
if step.reply_to:
    msg['Reply-To'] = step.reply_to

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions