INPUT_OBJECT
EmailFilterInput
Filter conditions for Email records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.
link GraphQL Schema definition
- input EmailFilterInput {
- # Matches records that meet at least one of the listed filters.
- : [EmailFilterInput!]
- # Matches records that meet all of the listed filters.
- : [EmailFilterInput!]
- # Matches records that do not meet this filter.
- : EmailFilterInput
- # Search term matched against the fields that the global search covers for this
- # entity.
- : String
- # Unique identifier of entity.
- : EntityFilterStringField
- # Specifies if the entity is considered deleted.
- : Boolean
- # Last modification time.
- : EntityFilterDateTimeField
- # Creation time.
- : EntityFilterDateTimeField
- # Comma-separated list of blind-carbon-copy recipients.
- : EntityFilterStringField
- # HTML body of the email. Returned only to users with read permission on the email
- # content; otherwise empty.
- : EntityFilterStringField
- # Plain-text summary of the email body. Returned only to users with read
- # permission on the email content; otherwise empty.
- : EntityFilterStringField
- # Comma-separated list of carbon-copy recipients.
- : EntityFilterStringField
- # Id of the company email used as the From / Reply-To. Empty when sent from the
- # user mailbox.
- : EntityFilterStringField
- # 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).
- : ContentShareModeEnumFilterInput
- # MIME content type of the body (e.g. text/html, text/plain).
- : EntityFilterStringField
- # Timestamp the email was sent. Empty for drafts and scheduled emails not yet
- # sent.
- : EntityFilterDateTimeField
- # Direction of the email (Incoming, Outgoing).
- : EmailDirectionEnumFilterInput
- # Id of the original email a draft was started from (reply/forward source), or
- # empty for a standalone draft.
- : EntityFilterStringField
- # Numeric error code recorded when the email failed to send. Zero when no error
- # occurred.
- : EntityFilterNumberField
- # True when this email is an unsent draft. Drafts have no dateSent/sendAt and are
- # excluded from the sent/scheduled streams.
- : Boolean
- # 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.
- : EntityFilterStringField
- # Id of the email owner.
- : EntityFilterStringField
- # Id of the parent (master) email.
- : EntityFilterStringField
- # Timestamp at which a scheduled email is queued to be sent. Empty for
- # immediately-sent emails.
- : EntityFilterDateTimeField
- # Sender address as it appeared on the email (free-text "From" header).
- : EntityFilterStringField
- # Id of the matched sender account.
- : EntityFilterStringField
- # Id of the matched sender user.
- : EntityFilterStringField
- # Id of the matched sender contact.
- : EntityFilterStringField
- # Id of the personal email-integration account that sent this email.
- : EntityFilterStringField
- # Tone of the email (Negative, Neutral or Positive) as assessed by AI from its
- # content; empty until assessed. Returned only to users with read permission on
- # the email content.
- : EmailSentimentEnumFilterInput
- # Sharing model for the email envelope (e.g. shared with selected sales units or
- # selected users). The matching sharingUnits / sharingClients lists control who is
- # granted access.
- : ShareModeEnumFilterInput
- # Name of the entity and its default text representation.
- : EntityFilterStringField
- # Discriminator identifying the concrete record type — always "email" for Email
- # records. Read-only; useful when consuming polymorphic Message results.
- : EntityFilterStringField
- # Id of the email template.
- : EntityFilterStringField
- # Identifier grouping emails belonging to the same conversation thread.
- : EntityFilterStringField
- # Comma-separated list of primary recipients.
- : EntityFilterStringField
- # Whether the email is an individual email (Standard) or part of a mass email
- # (Mass).
- : EmailTypeEnumFilterInput
- # IMAP UID of the email on the source mailbox.
- : EntityFilterStringField
- # Revision when entity was lastly changed.
- : EntityFilterNumberField
- # Ids of the mailboxes (company or personal) the email envelope belongs to,
- # aggregated from the active emailMailboxRelation rows.
- : [UUID!]
- # Configured company email used as the From / Reply-To. Empty when sent from the
- # user mailbox. Matches records where a related record meets these conditions.
- : CompanyEmailFilterInput
- # The original email a draft was started from (reply/forward source), or empty for
- # a standalone draft. Matches records where a related record meets these
- # conditions.
- : EmailFilterInput
- # Sales user who owns this email. May be empty for unassigned emails. Matches
- # records where a related record meets these conditions.
- : ClientFilterInput
- # For mass emails: the master email this copy was generated from. Empty for the
- # master and for non-mass emails. Matches records where a related record meets
- # these conditions.
- : EmailFilterInput
- # Account record matched as the sender, or empty when the sender does not match an
- # existing Account. Matches records where a related record meets these conditions.
- : AccountFilterInput
- # Internal user matched as the sender, or empty when the sender is external.
- # Matches records where a related record meets these conditions.
- : ClientFilterInput
- # Contact record matched as the sender, or empty when the sender does not match an
- # existing Contact. Matches records where a related record meets these conditions.
- : ContactFilterInput
- # Email template used to compose this email, or empty when none was used. Matches
- # records where a related record meets these conditions.
- : EmailTemplateFilterInput
- # Sales units that have been granted shared access to this email envelope. Matches
- # records where a related record meets these conditions.
- : MessageSharingSalesUnitRelationFilterInput
- # Users that have been granted shared access to this email envelope. Matches
- # records where a related record meets these conditions.
- : MessageSharingClientRelationFilterInput
- # Sales units that have been granted access to the email body when
- # contentShareMode is restricted. Matches records where a related record meets
- # these conditions.
- : EmailContentSharingSalesUnitRelationFilterInput
- # Users that have been granted access to the email body when contentShareMode is
- # restricted. Matches records where a related record meets these conditions.
- : EmailContentSharingClientRelationFilterInput
- # Accounts this email is linked to. Matches records where a related record meets
- # these conditions.
- : MessageRelationFilterInput
- # Contacts this email is linked to. Matches records where a related record meets
- # these conditions.
- : MessageRelationFilterInput
- # Projects this email is linked to. Matches records where a related record meets
- # these conditions.
- : MessageRelationFilterInput
- # Custom entity records this email is linked to. Matches records where a related
- # record meets these conditions.
- : MessageRelationFilterInput
- # Leads this email is linked to. Matches records where a related record meets
- # these conditions.
- : MessageRelationFilterInput
- # Opportunities this email is linked to. Matches records where a related record
- # meets these conditions.
- : MessageRelationFilterInput
- # Quotes this email is linked to. Matches records where a related record meets
- # these conditions.
- : MessageRelationFilterInput
- # Tag labels applied to this email. Visible only to users that can read the email
- # body. Matches records where a related record meets these conditions.
- : TagRelationFilterInput
- # Attachments and other documents linked to this email. Matches records where a
- # related record meets these conditions.
- : CloudObjectRelationFilterInput
- }
link Require by
- ClientFavoriteFilterInputFilter conditions for ClientFavorite records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.
- ClientStoryReadFilterInputFilter conditions for ClientStoryRead records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.
- CloudObjectRelationFilterInputFilter conditions for CloudObjectRelation records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.
- EmailContentSharingClientRelationFilterInputFilter conditions for EmailContentSharingClientRelation records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.
- EmailContentSharingSalesUnitRelationFilterInputFilter conditions for EmailContentSharingSalesUnitRelation records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.
- EmailEventFilterInputFilter conditions for EmailEvent records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.
- EmailFilterInputFilter conditions for Email records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.
- EmailMailboxRelationFilterInputFilter conditions for EmailMailboxRelation records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.
- EmailRepositoryRead operations for Email records.
- LeadOpptyStepCheckListRelationFilterInputFilter conditions for LeadOpptyStepCheckListRelation records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.
- MessageRelationFilterInputFilter conditions for MessageRelation records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.
- MessageSharingClientRelationFilterInputFilter conditions for MessageSharingClientRelation records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.
- MessageSharingSalesUnitRelationFilterInputFilter conditions for MessageSharingSalesUnitRelation records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.
- OnlineFormFilterInputFilter conditions for OnlineForm records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.
- OnlineFormTypeEmailRelationFilterInputFilter conditions for OnlineFormTypeEmailRelation records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.
- TagRelationFilterInputFilter conditions for TagRelation records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.