labstack / labstack/gommon

Add Support for Sending HTML and Text Bodies in Single Email

Open
#59 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
596
Forks
102
PR merge metrics
No merged PRs in 30d

Description

Hello,

First of all I want to thank you for creating and maintaining this library, I have used it now in production for quite some time and have enjoyed using it thoroughly.

Currently the email package only supports sending either text or html messages, with the text message being chosen when both fields are present.

I have read from various sources that it is considered best practice to include both text and html message bodies in the email so that the email client gets to choose which format to display to the user. I believe this is a fairly simple change in the codebase and am more than happy to contribute myself.

Please let me know how to proceed on this!
Thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the email package and the code that currently chooses between text and HTML bodies. Confirm how an email containing both formats should be represented, then verify that the package can send both alternatives while preserving existing single-format behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.