INPUT_OBJECT
CreateEmailInput
link GraphQL Schema definition
- input CreateEmailInput {
- : String
- # Last modification time.
- : DateTime
- # Creation time.
- : DateTime
- # Extra raw email headers preserved from the source message, as a JSON object.
- : JSONString
- # HTML body of the email. Returned only to users with read permission on the email
- # content; otherwise empty.
- : String
- # Plain-text summary of the email body. Returned only to users with read
- # permission on the email content; otherwise empty.
- : String
- # Comma-separated list of carbon-copy recipients.
- : String
- # Id of the company email.
- : ID
- # How the email body is shared with non-owners (e.g. Private hides the body,
- # Public makes it visible to anyone with read access on the email envelope).
- : ContentShareModeEnum
- # MIME content type of the body (e.g. text/html, text/plain).
- : String
- # Timestamp the email was sent. Empty for drafts and scheduled emails not yet
- # sent.
- : DateTime
- # Direction of the email (Incoming, Outgoing).
- : EmailDirectionEnum!
- # Numeric error code recorded when the email failed to send. Zero when no error
- # occurred.
- : Int
- # True when delivery tracking is enabled. Tracked emails generate EmailEvent
- # records on open/click.
- : Boolean
- # External identifier of the email on the source mailbox (e.g. IMAP Message-ID).
- # Used to deduplicate when re-syncing.
- : String
- # Id of the email owner.
- : ID
- # Id of the parent (master) email.
- : ID
- # Scheduling configuration for delayed sending (e.g. timezone, time-window).
- : JSONString
- # Timestamp at which a scheduled email is queued to be sent. Empty for
- # immediately-sent emails.
- : DateTime
- # Sender address as it appeared on the email (free-text "From" header).
- : String
- # Id of the matched sender account.
- : ID
- # Id of the matched sender user.
- : ID
- # Id of the matched sender contact.
- : ID
- # Field whose values are strictly defined with an enumeration of values.
- : EmailSentimentEnum
- # Sharing model for the email envelope (e.g. shared with selected sales units or
- # selected users). The matching sharing_units / sharing_clients lists control who
- # is granted access.
- : ShareModeEnum
- # Name of the entity and its default text representation.
- : String
- # Id of the email template.
- : ID
- # Identifier grouping emails belonging to the same conversation thread.
- : ID
- # Comma-separated list of primary recipients.
- : String
- # Email category (e.g. regular email, mass email, calendar invitation).
- : EmailTypeEnum
- # IMAP UID of the email on the source mailbox.
- : String!
- # Revision when entity was lastly changed.
- : Int
- # Sales units that have been granted shared access to this email envelope.
- : [CreateMessageSharingSalesUnitRelationNoMessageBackrefInput!]
- # Users that have been granted shared access to this email envelope.
- : [CreateMessageSharingClientRelationNoMessageBackrefInput!]
- # Sales units that have been granted access to the email body when
- # content_share_mode is restricted.
- : [CreateEmailContentSharingSalesUnitRelationNoEmailBackrefInput!]
- # Users that have been granted access to the email body when content_share_mode is
- # restricted.
- : [CreateEmailContentSharingClientRelationNoEmailBackrefInput!]
- # Accounts this email is linked to.
- : [CreateMessageRelationNoMessageBackrefInput!]
- # Contacts this email is linked to.
- : [CreateMessageRelationNoMessageBackrefInput!]
- # Projects this email is linked to.
- : [CreateMessageRelationNoMessageBackrefInput!]
- # Custom entity records this email is linked to.
- : [CreateMessageRelationNoMessageBackrefInput!]
- # Leads this email is linked to.
- : [CreateMessageRelationNoMessageBackrefInput!]
- # Opportunities this email is linked to.
- : [CreateMessageRelationNoMessageBackrefInput!]
- # Quotes this email is linked to.
- : [CreateMessageRelationNoMessageBackrefInput!]
- # Tag labels applied to this email. Visible only to users that can read the email
- # body.
- : [CreateTagRelationNoEmailBackrefInput!]
- # Attachments and other documents linked to this email.
- : [CreateCloudObjectRelationNoBackrefInput!]
- }