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

Store the sent emails #18

Open
jwoertink opened this issue Mar 12, 2021 · 7 comments
Open

Store the sent emails #18

jwoertink opened this issue Mar 12, 2021 · 7 comments
Labels
feature request A new requested feature / option

Comments

@jwoertink
Copy link
Member

One feature @paulcsmith mentioned before was having a way to view the sent emails. Right now, when you send an email in development, it's thrown in to the log with both the text and html versions which 1. makes the log super messy, and 2. can make it difficult to find links you're supposed to click (e.g. confirm email). Have you seen the markup that goes in to some of these emails? 😬

This feature could live on the same page as the email previews index, and just in a panel below. I seem them looking similar to the queries page, and clicking through just renders that email. This also means that we'd have to create a new model to store the emails, but the benefit would be essentially using it as your own personal mailbox.

@jwoertink jwoertink added the feature request A new requested feature / option label Mar 12, 2021
@paulcsmith
Copy link
Member

👍

@matthewmcgarvey
Copy link
Member

If it makes anything simpler, we don't have to store the email content. We could just store a reference that we sent this email to that user from this email and maybe have a link to the preview if there is one?

Again, maybe not any easier to implement

@paulcsmith
Copy link
Member

I think the problem with that might be that you need to click a link in the email. Like if you're testing password reset, email confirmation, that kind of thing

@jwoertink
Copy link
Member Author

Funny thing is I actually needed this 😂 We were doing some testing, and I couldn't get the password reset to send. It would have been nice to look in breeze and see if the email was in there.

@matthewmcgarvey
Copy link
Member

Sounds like mailtrap could be used as inspiration for this feature https://mailtrap.io

@jwoertink
Copy link
Member Author

Oh neat! I haven't seen this before. That would be pretty cool. We've been using https://www.mail-tester.com/ which is pretty simple, and has worked wonders for our use. You just send an email to it, and it looks a few things like headers and such. That would be amazing if you went in to breeze, and it was like "Hey, this email has like 60% chance of hitting the inbox".

@robacarp
Copy link

https://github.com/sj26/mailcatcher is a codebase that does this all locally, which I've used several times

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A new requested feature / option
Projects
None yet
Development

No branches or pull requests

4 participants