Ir a la documentación
Servidor MCP

Analíticas

Cómo llega el correo y qué fue del correo enviado.

Herramientas de analíticas

HerramientaQué hace
getMailboxInsightsCómo llega el correo durante un periodo, tal como lo muestra la página Analíticas: por día y por hora, por dirección y por remitente, lo que espera respuesta y las carpetas.
getSendingAnalyticsQué fue del correo que envió el espacio de trabajo durante un periodo, tal como lo muestra la página Analíticas: entregado, fallido, rebotado y con queja, por día.

Leer cómo llega el correo requiere «Leer hilos y mensajes» (threads:read), y leer qué fue del correo enviado requiere «Leer los mensajes enviados y su estado de entrega» (emails:read). Un cliente limitado a algunas direcciones solo cuenta el correo que llegó a ellas o se envió desde ellas, y address limita cualquiera de los dos a una dirección.

Referencia

getMailboxInsights

Alcancesthreads:readEl asistente de la app lo ejecuta sin preguntarKit de herramientasinsights

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
Uno de"minute""hour""day"
offsetMinutesinteger
Al menos -840Como máximo 840
addressstring
De 3 a 320 caracteres

También disponible en

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

getSendingAnalytics

Alcancesemails:readEl asistente de la app lo ejecuta sin preguntarKit de herramientasinsights

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
Al menos 1Como máximo 365
minutesinteger
Al menos 1Como máximo 525600
grainstring
Uno de"minute""hour""day"
offsetMinutesinteger
Al menos -840Como máximo 840
addressstring
De 3 a 320 caracteres

También disponible en

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