문서로 건너뛰기
MCP 서버

분석

메일이 어떻게 들어오는지, 그리고 보낸 메일이 어떻게 되었는지.

분석 도구

도구하는 일
getMailboxInsights기간 동안 메일이 어떻게 들어오는지, 분석 페이지가 보여 주는 그대로: 일별과 시간대별, 주소별과 발신자별, 답장을 기다리는 것, 그리고 폴더.
getSendingAnalytics기간 동안 워크스페이스가 보낸 메일이 어떻게 되었는지, 분석 페이지가 보여 주는 그대로: 전달, 실패, 반송, 스팸 신고를 일별로.

메일이 들어오는 방식을 읽으려면 “스레드와 메시지 읽기”(threads:read), 보낸 메일이 어떻게 되었는지 읽으려면 “보낸 메시지와 전달 상태 읽기”(emails:read)가 필요합니다. 일부 주소로 제한된 클라이언트는 그 주소로 들어오거나 그 주소에서 보낸 메일만 세며, address는 어느 쪽이든 한 주소로 좁힙니다.

레퍼런스

getMailboxInsights

범위threads:read앱의 어시스턴트가 묻지 않고 실행합니다툴킷insights

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.

입력

fromstring
형식date-time
tostring
형식date-time
grainstring
다음 중 하나"minute""hour""day"
offsetMinutesinteger
-840 이상840 이하
addressstring
3~320자

다른 사용처

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

getSendingAnalytics

범위emails:read앱의 어시스턴트가 묻지 않고 실행합니다툴킷insights

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.

입력

daysinteger
1 이상365 이하
minutesinteger
1 이상525600 이하
grainstring
다음 중 하나"minute""hour""day"
offsetMinutesinteger
-840 이상840 이하
addressstring
3~320자

다른 사용처

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