Skip to Content

The ReplyContext type of the TypeScript SDK, part of ThreadView.

type ReplyContext = {
  from: string | null
  inReplyTo: string | null
  inboundSourceId: string | null
  references: string[]
  subject: string | null
  to: string | null
}

Fields

FieldTypeDescription
fromstring | nullSuggested sending address: the one the newest message reached this mailbox at, or was sent from when it is our own. Not re-checked against routing; the reply route uses it only while it still routes to this mailbox
inReplyTostring | nullMessage-ID to set as In-Reply-To header
inboundSourceIdstring | nullMessage ULID being replied to (null if newest message is outbound)
referencesstring[]List of Message-IDs for References header
subjectstring | nullSuggested normalized reply subject line
tostring | nullSuggested recipient email address string

Used in

ThreadView.

On this page