SMTP를 통해 수신하는 것과 유사한 표준 이메일 전송 검사와 분류를 통해 이 사용자의 편지함으로만 메일을 가져옵니다. 이 방법은 SPF 검사를 수행하지 않으므로, 도메인 스푸핑을 시도하는 메일과 같은 일부 스팸 메일에는 작동하지 않을 수 있습니다. 이 메서드는 메시지를 보내지 않습니다.
HTTP 요청
미디어 업로드 요청의 업로드 URI: POST https://gmail.googleapis.com/upload/gmail/v1/users/{userId}/messages/import
메타데이터 전용 요청용 메타데이터 URI: POST https://gmail.googleapis.com/gmail/v1/users/{userId}/messages/import
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-09-05(UTC)"],[[["Imports a message into the specified user's mailbox, using standard email delivery scanning and classification."],["Allows control over internal date, spam classification, calendar invite processing, and permanent deletion."],["Requires providing message data in the request body and uses the `POST` method with specific URI formats."],["Supports both full message upload and metadata-only requests."],["Needs authorization with specific OAuth scopes for access and modification."]]],["This describes how to import a message into a user's Gmail mailbox. Two POST request URIs are provided for uploading media or metadata. The `userId` path parameter specifies the user, with `me` for the authenticated user. Query parameters include settings for `internalDateSource`, `neverMarkSpam`, `processForCalendar`, and `deleted`. The request and response bodies use the `Message` instance. Requires one of three specified OAuth scopes. The service skips SPF checks.\n"]]