Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermittent "email_failed" events #619

Open
tanmay-predisai opened this issue Jan 22, 2025 · 2 comments
Open

Intermittent "email_failed" events #619

tanmay-predisai opened this issue Jan 22, 2025 · 2 comments

Comments

@tanmay-predisai
Copy link

We have recently started seeing a lot of "email_failed" events. Wanted to understand:

  1. When does this event occur - Is it based on a response from AWS SES?
  2. The attached screenshot shows email_sent, email_failed, email_opened events. I can confirm - all these are about the same email. If the email failed, then there cannot be an email opened event.
Image

I checked in the user_events table and cant find any additional information related to this event (as shown in the screenshot). The only data we see for an email_failed event is :{"channel": "email", "campaign_id": 85, "campaign_name": "", "campaign_type": "trigger", "subscription_id": 1}

Any more information will help us debug this better! Thank you!

@tanmay-predisai tanmay-predisai changed the title Intermittend "email_failed" events Intermittent "email_failed" events Jan 22, 2025
@pushchris
Copy link
Contributor

Could be a whole bunch of things ranging from soft bounces to odd configurations of the end users mail server to crashes. Do you have error handling setup for your project with either Sentry or Bugsnag? The errors should bubble up to there and that would be the best place to check what is going on.

@tanmay-predisai
Copy link
Author

I just noticed that -

  1. email_failed events are being triggered for users who are part of the exclusion list in a campaign.
  2. email_failed event gets triggered if there are some jobs pending in the queue and the email is not sent immediately.

While we investigate more, wanted to check if these 2 are by design?

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

No branches or pull requests

2 participants