邮箱邮箱

概览

一个地址:信息、别名、图片和签名以及发送的信息。

4 methodsmessages and aliasesquota is the account's
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

成员功能
发送(选项)发自此地址 。
更新(更改)姓名, 全部, 图片, 签名。
向前(地址)其它处复制,最多五份。
删除( m)删除。
电文list · get · update · remove · search.
别别别别list · add · remove.
const box = await api.mail.get("hello@example.com");

const { messages, unreadCount } = await box.messages.list({ folder: "inbox", unread: true });
await box.send({ to: "someone@example.net", subject: "Hi", text: "…" });
box = api.mail.get("hello@example.com")

page = box.messages.list(folder="inbox", unread=True)
messages, unread_count = page["messages"], page.get("unreadCount")
box.send(to=["someone@example.net"], subject="Hi", text="…")

随它携带的

address · local · hoststring

地址和地址的两半

namestring

显示名称 。

avatar · avatarSourcestring|null

照片来自: mailbox, account或什么都没有。

signatureobject|null

{ html, image },添加到发送中。

sourcestring

iagenify 或 imap.

usedBytes · quotaBytesinteger

账户的物品储存 持有的物品

aliasList · forwardTostring[]

地址是这里的陆地 副本也寄过去

catchAllboolean

是否在主机所在的土地上有未知地址 。

status · lastMessageAt

国家, 和当最后的东西到达。

图片沿链条

邮箱是自己的,账户是的,然后什么都没有 avatarSource 如此一来,一个界面就能提供 使用自己照片 有意义地。