Email is one of those things that's genuinely hard to test. It goes out through an SMTP server, lands in a real inbox, and you have no programmatic way to check what arrived. So most teams either test it manually or just assert that sendEmail() was called and call it done.
Neither tells you if the subject line was right, the link was valid, or the HTML rendered correctly.
That's why I built email support into
Working repo: mokapi-email-workflow
Happy to answer questions in the comments.
SOCIAL SHARE CARD GENERATOR