Skip to content

Would like for SimpleEmailMessage to include Tags #431

Open
@charles-circulo

Description

@charles-circulo

Is your feature request related to a problem? Please describe.
I'm always frustrated when I find a struct that solves 99% of my problems, but then falls just short.

Describe the solution you'd like
When processing SES events in golang, I'd like for the SimpleEmailMessage struct to include Tags.

Describe alternatives you've considered
I will need to print out an example event and take it to a golang JSON parser to build a custom struct.

Additional context
Just update to this? I can handle the type conversion/parsing from there.

type SimpleEmailMessage struct {
	CommonHeaders    SimpleEmailCommonHeaders `json:"commonHeaders"`
	Source           string                   `json:"source"`
	Timestamp        time.Time                `json:"timestamp"`
	Destination      []string                 `json:"destination"`
	Headers          []SimpleEmailHeader      `json:"headers"`
	HeadersTruncated bool                     `json:"headersTruncated"`
	MessageID        string                   `json:"messageId"`
	Tags             map[string][]string      `json:"tags"`
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementtype/eventsissue or feature request related to the events package

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions