matcha icon indicating copy to clipboard operation
matcha copied to clipboard

BUG: JMAP jmapEmailToBackend only handles first From address

Open andrinoff opened this issue 7 months ago • 2 comments

Describe the bug

In backend/jmap/jmap.go, jmapEmailToBackend only takes the first address from the From list. While RFCs recommend a single address, multiple addresses are technically allowed in the From header.

To reproduce

  1. Receive an email with multiple addresses in the From header.
  2. Only the first one will be shown.

Expected behavior

Handle multiple From addresses, perhaps by joining them with a comma or showing the first one with an indicator.

Additional context

	if len(eml.From) > 0 {
		e.From = eml.From[0].String()
	}

andrinoff avatar Apr 16 '26 13:04 andrinoff

This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.

floatpanebot avatar May 17 '26 05:05 floatpanebot

Closing due to inactivity. Reopen if still relevant.

floatpanebot avatar May 31 '26 06:05 floatpanebot