The terminal solution is handy but sometimes it fails because you could end up with a sign in link or some type of link with a very long token that wraps to multiple lines making it impossible to click.
Rails also prints emails to the terminal and has a backend solution that doesn't really send emails out but I still prefer using MailCatcher to display them in a UI (it has both amd64 and arm64 Docker support[0], real-time updates and a ~25mb compressed Docker image).
It also just works for all frameworks if you hack the receiver and BCC: emails you want to test to yourself to make sure they're actually being sent and look alright.
Rails also prints emails to the terminal and has a backend solution that doesn't really send emails out but I still prefer using MailCatcher to display them in a UI (it has both amd64 and arm64 Docker support[0], real-time updates and a ~25mb compressed Docker image).
[0]: https://hub.docker.com/r/schickling/mailcatcher/tags