@ -24,6 +24,7 @@ import (
"mime"
"net/mail"
"net/textproto"
"regexp"
"strings"
"github.com/ProtonMail/go-rfc5322"
@ -486,7 +487,7 @@ func parseMessageHeader(m *pmapi.Message, h message.Header) error { // nolint[fu
m.Time = date.Unix()
case "message-id":
m.ExternalID = fields.Value()
m.ExternalID = regexp.MustCompile("<(.*)>").ReplaceAllString(fields.Value(), "$1")
}
@ -11,3 +11,9 @@ Changelog [format](http://keepachangelog.com/en/1.0.0/)
### Changed
### Fixed
* GODT-787 GODT-978 Fix IE and Bridge importing to sent not showing up in inbox (setting up flags properly).
* GODT-1006 Use correct macOS keychain name.
* GODT-1009 Set ContentID if present and not explicitly attachment.
* GODT-1010 Strip angle brackets from external ID.