Ir a la documentación
Servidor MCP

Correo temporal

Bandejas desechables para un registro o una prueba.

Herramientas de correo temporal

HerramientaQué hace
listTempMailDomainsLos dominios en los que se puede crear una bandeja temporal.
createTempInboxUna dirección desechable nueva y el token de bandeja que la abre. Guarda el token: todas las demás herramientas de correo temporal lo necesitan.
getTempInboxLa dirección de una bandeja, cuándo caduca, cuántas ampliaciones quedan y cuántos mensajes contiene.
listTempMessagesLos mensajes que ha recibido una bandeja, los más recientes primero, con remitente, asunto, hora de llegada y un fragmento.
readTempMessageUn mensaje con su texto, y su código de inicio de sesión cuando es un correo de verificación y OpenEmail está seguro del código.
extendTempInboxMantiene una bandeja abierta más tiempo. Devuelve un token nuevo que hay que usar a partir de entonces.
deleteTempMessageElimina para siempre un mensaje de una bandeja.
deleteTempInboxCierra una bandeja de inmediato y elimina todo lo que ha recibido.

Son las bandejas desechables gratuitas del sitio web de OpenEmail. Una bandeja no pertenece a ningún espacio de trabajo y se abre con su propio token, así que las herramientas no necesitan ningún permiso y el token es la única clave. Cualquiera que lo tenga puede leer la bandeja.

El correo que llega a la dirección se guarda un día como máximo. Un nombre elegido se puede adivinar y se lo queda otra persona en cuanto la bandeja caduca, así que omite localPart para obtener uno aleatorio.

Referencia

createTempInbox

Sin alcanceEl asistente de la app lo ejecuta sin preguntarKit de herramientasworkspace

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.

Entradas

domainstring

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

Hasta 253 caracteres
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.

Hasta 64 caracteres
ttlMinutesinteger

How long the inbox lasts, in minutes.

Al menos 1Como máximo 1440

También disponible en

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

getTempInbox

Sin alcanceEl asistente de la app lo ejecuta sin preguntarKit de herramientasworkspace

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

Entradas

tokenstringObligatorio

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

De 1 a 4096 caracteres

También disponible en

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

Sin alcanceEl asistente de la app lo ejecuta sin preguntarKit de herramientasworkspace

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

Entradas

tokenstringObligatorio

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

De 1 a 4096 caracteres
limitinteger

How many messages to return.

Al menos 1Como máximo 50
cursorstring

The next cursor of the previous page.

De 1 a 512 caracteres

También disponible en

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

Sin alcanceEl asistente de la app lo ejecuta sin preguntarKit de herramientasworkspace

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.

Entradas

tokenstringObligatorio

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

De 1 a 4096 caracteres
messageIdstringObligatorio

The message id listTempMessages returned.

De 1 a 512 caracteres

También disponible en

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

Sin alcanceEl asistente de la app lo ejecuta sin preguntarKit de herramientasworkspace

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.

Entradas

tokenstringObligatorio

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

De 1 a 4096 caracteres

También disponible en

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

deleteTempMessage

Sin alcanceEl asistente de la app lo ejecuta sin preguntarKit de herramientasworkspace

Delete one message of a temporary inbox for good.

Entradas

tokenstringObligatorio

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

De 1 a 4096 caracteres
messageIdstringObligatorio

The message id listTempMessages returned.

De 1 a 512 caracteres

También disponible en

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