code: func (h *SMTPAPIHeader) SetFilter(filter string, value *Filter) {
  	if h.Filters == nil {
  		h.Filters = make(map[string]Filter)
  	}
  	h.Filters[filter] = *value
  }
docs: // SetFilter takes in a Filter struct with predetermined settings and sets it for such Filter key