Saltar para a documentação
Servidor MCP

Análises

Como chega o correio, e o que aconteceu ao correio enviado.

Ferramentas de análises

FerramentaO que faz
getMailboxInsightsComo chega o correio ao longo de um período, tal como a página Análises o mostra: por dia e por hora, por endereço e por remetente, o que espera resposta, e as pastas.
getSendingAnalyticsO que aconteceu ao correio que o espaço de trabalho enviou ao longo de um período, tal como a página Análises o mostra: entregue, falhado, devolvido e com queixas, por dia.

Ler como chega o correio exige «Read threads and messages» (threads:read), e ler o que aconteceu ao correio enviado exige «Read sent messages and their delivery status» (emails:read). Um cliente limitado a alguns endereços só conta o correio que chegou a eles ou que foi enviado a partir deles, e address restringe qualquer um dos dois a um só endereço.

Referência

getMailboxInsights

Âmbitosthreads:readO assistente da app executa-o sem perguntarConjunto de ferramentasinsights

How mail arrives, as the Analytics page shows it: how many conversations came in over a window and on which days, the busiest hours, the addresses they arrived at, the senders who wrote most, how many wait on a reply, and the folders. from and to are ISO 8601 instants and default to the last 30 days. offsetMinutes is the reader’s minutes east of UTC, so days break where theirs do. address narrows it to one address.

Entradas

fromstring
Formatodate-time
tostring
Formatodate-time
grainstring
Um de"minute""hour""day"
offsetMinutesinteger
Pelo menos -840No máximo 840
addressstring
De 3 a 320 caracteres

Também disponível em

API
GET /analytics/mailbox
SDK
analytics.mailbox()

getSendingAnalytics

Âmbitosemails:readO assistente da app executa-o sem perguntarConjunto de ferramentasinsights

What became of the mail this workspace sent, as the Analytics page shows it: how many went out over a window and how many were delivered, failed, bounced or complained about, per day, with the statuses, where they came from, the addresses they went out as and the addresses suppressed. days defaults to 30, minutes wins over days, and address narrows it to the mail sent from one address.

Entradas

daysinteger
Pelo menos 1No máximo 365
minutesinteger
Pelo menos 1No máximo 525600
grainstring
Um de"minute""hour""day"
offsetMinutesinteger
Pelo menos -840No máximo 840
addressstring
De 3 a 320 caracteres

Também disponível em

API
GET /analytics/sending
SDK
analytics.sending()