breeze
breeze copied to clipboard
Store the sent emails
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.
👍
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
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
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.
Sounds like mailtrap could be used as inspiration for this feature https://mailtrap.io
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".
https://github.com/sj26/mailcatcher is a codebase that does this all locally, which I've used several times