ドキュメント本文へスキップ
MCPサーバー

一時メール

登録やテストに使う使い捨て受信トレイ。

一時メールのツール

ツール機能
listTempMailDomains使い捨て受信トレイを作成できるドメイン。
createTempInbox新しい使い捨てアドレスと、それを開く受信トレイのトークン。トークンは保管しておくこと。ほかの一時メールのツールはどれもこのトークンを必要とする。
getTempInbox受信トレイのアドレス、有効期限、残りの延長回数、保持しているメッセージ数。
listTempMessages受信トレイが受け取ったメッセージを新しい順に、送信者、件名、到着時刻、抜粋とともに。
readTempMessageメッセージ 1 通とそのテキスト。確認メールで、OpenEmail がコードを確信できるときは、そのサインインコードも返す。
extendTempInbox受信トレイをより長く開いたままにする。以降に使う新しいトークンを返す。
deleteTempMessage受信トレイのメッセージを 1 通、完全に削除する。
deleteTempInbox受信トレイを今すぐ閉じ、受け取ったものをすべて削除する。

これらは OpenEmail のウェブサイトにある無料の使い捨て受信トレイである。受信トレイはどのワークスペースにも属さず、専用のトークンで開くので、ツールに権限は不要で、トークンが唯一の鍵となる。トークンを持っている人は誰でも受信トレイを読める。

アドレス宛てのメールが保存されるのは最長 1 日である。自分で選んだ名前は推測される可能性があり、受信トレイの期限が切れるとほかの人に取得されることがあるので、ランダムな名前にするには localPart を省くこと。

リファレンス

createTempInbox

スコープ不要アプリのアシスタントは確認せずに実行しますツールキットworkspace

Make a temporary inbox: a disposable address that receives mail for a while, for a sign-up or a test, without touching the workspace. Returns the address and an inbox token that every other temporary mail tool needs, so keep it. Read what arrives with listTempMessages and readTempMessage, which also gives the sign-in code of a verification email. The inbox lasts an hour by default and at most 1440 minutes in all.

入力

domainstring

One of the domains listTempMailDomains names. Defaults to the first.

253文字まで
localPartstring

The part before the @. Leave it out for a random one: a chosen name can be guessed and is taken by somebody else once the inbox expires.

64文字まで
ttlMinutesinteger

How long the inbox lasts, in minutes.

1以上1440以下

ほかの提供先

API
POST /temp-mail/inboxes
TypeScript
tempMail.create()
Python
temp_mail.create()
Ruby
temp_mail.create
PHP
tempMail->create

getTempInbox

スコープ不要アプリのアシスタントは確認せずに実行しますツールキットworkspace

Read a temporary inbox: its address, when it expires, how many extensions are left and how many messages it holds.

入力

tokenstring必須

The inbox token createTempInbox returned, starting with oe_inbox_. It is the only key to the inbox.

1〜4096文字

ほかの提供先

API
GET /temp-mail/inboxes/{id}GET /temp-mail/inboxes/{id}/messages
TypeScript
tempMail.get()tempMail.listMessages()tempMail.listAllMessages()tempMail.iterateMessages()
Python
temp_mail.get()temp_mail.list_messages()temp_mail.list_all_messages()temp_mail.iterate_messages()
Ruby
temp_mail.gettemp_mail.list_messagestemp_mail.list_all_messagestemp_mail.iterate_messages
PHP
tempMail->gettempMail->listMessagestempMail->listAllMessagestempMail->iterateMessages

listTempMessages

スコープ不要アプリのアシスタントは確認せずに実行しますツールキットworkspace

List the messages a temporary inbox has received, newest first: id, sender, subject, when it arrived and a snippet.

入力

tokenstring必須

The inbox token createTempInbox returned, starting with oe_inbox_. It is the only key to the inbox.

1〜4096文字
limitinteger

How many messages to return.

1以上50以下
cursorstring

The next cursor of the previous page.

1〜512文字

ほかの提供先

API
GET /temp-mail/inboxes/{id}GET /temp-mail/inboxes/{id}/messages
TypeScript
tempMail.get()tempMail.listMessages()tempMail.listAllMessages()tempMail.iterateMessages()
Python
temp_mail.get()temp_mail.list_messages()temp_mail.list_all_messages()temp_mail.iterate_messages()
Ruby
temp_mail.gettemp_mail.list_messagestemp_mail.list_all_messagestemp_mail.iterate_messages
PHP
tempMail->gettempMail->listMessagestempMail->listAllMessagestempMail->iterateMessages

readTempMessage

スコープ不要アプリのアシスタントは確認せずに実行しますツールキットworkspace

Read one message of a temporary inbox: sender, subject, when it arrived, the sign-in code when it is a verification email and OpenEmail is sure of it, and the text.

入力

tokenstring必須

The inbox token createTempInbox returned, starting with oe_inbox_. It is the only key to the inbox.

1〜4096文字
messageIdstring必須

The message id listTempMessages returned.

1〜512文字

ほかの提供先

API
GET /temp-mail/inboxes/{id}/messages/{messageId}
TypeScript
tempMail.getMessage()
Python
temp_mail.get_message()
Ruby
temp_mail.get_message
PHP
tempMail->getMessage

extendTempInbox

スコープ不要アプリのアシスタントは確認せずに実行しますツールキットworkspace

Keep a temporary inbox open longer. Each extension adds time up to 1440 minutes in all, at most 23 times. It returns a new inbox token: use it from then on.

入力

tokenstring必須

The inbox token createTempInbox returned, starting with oe_inbox_. It is the only key to the inbox.

1〜4096文字

ほかの提供先

API
POST /temp-mail/inboxes/{id}/extend
TypeScript
tempMail.extend()
Python
temp_mail.extend()
Ruby
temp_mail.extend
PHP
tempMail->extend

deleteTempMessage

スコープ不要アプリのアシスタントは確認せずに実行しますツールキットworkspace

Delete one message of a temporary inbox for good.

入力

tokenstring必須

The inbox token createTempInbox returned, starting with oe_inbox_. It is the only key to the inbox.

1〜4096文字
messageIdstring必須

The message id listTempMessages returned.

1〜512文字

ほかの提供先

API
DELETE /temp-mail/inboxes/{id}/messages/{messageId}
TypeScript
tempMail.deleteMessage()
Python
temp_mail.delete_message()
Ruby
temp_mail.delete_message
PHP
tempMail->deleteMessage

deleteTempInbox

スコープ不要アプリのアシスタントは確認せずに実行しますツールキットworkspace

Close a temporary inbox now and delete everything it received. Its token stops working.

入力

tokenstring必須

The inbox token createTempInbox returned, starting with oe_inbox_. It is the only key to the inbox.

1〜4096文字

ほかの提供先

API
DELETE /temp-mail/inboxes/{id}
TypeScript
tempMail.delete()
Python
temp_mail.delete()
Ruby
temp_mail.delete
PHP
tempMail->delete