Loading...
Loading...
Compare original and translation side by side
membranenpm install -g @membranehq/climembranenpm install -g @membranehq/climembrane login --tenantmembrane login complete <code>membrane login --tenantmembrane login complete <code>membrane search gmail --elementType=connector --jsonoutput.items[0].element?.idmembrane connect --connectorId=CONNECTOR_ID --jsonmembrane search gmail --elementType=connector --jsonoutput.items[0].element?.idmembrane connect --connectorId=CONNECTOR_ID --jsonmembrane connection list --jsonconnectionIdmembrane connection list --jsonconnectionIdmembrane action list --intent=QUERY --connectionId=CONNECTION_ID --jsonmembrane action list --intent=QUERY --connectionId=CONNECTION_ID --json| Name | Key | Description |
|---|---|---|
| List Messages | list-messages | Lists messages in the user's mailbox. |
| List Threads | list-threads | Lists the email threads in the user's mailbox. |
| List Drafts | list-drafts | Lists the drafts in the user's mailbox. |
| List Labels | list-labels | Lists all labels in the user's mailbox, including both system labels and custom user labels. |
| Get Message | get-message | Gets the specified message by ID. |
| Get Thread | get-thread | Gets the specified thread including all messages in the conversation. |
| Get Draft | get-draft | Gets a specific draft by ID including the draft message content. |
| Get Label | get-label | Gets a specific label by ID including message/thread counts. |
| Get Profile | get-profile | Gets the current user's Gmail profile including email address and message/thread counts. |
| Create Draft | create-draft | Creates a new draft email. |
| Create Label | create-label | Creates a new custom label in the user's mailbox. |
| Update Draft | update-draft | Replaces a draft's content with new content. |
| Update Label | update-label | Updates an existing label's properties including name, visibility, and color. |
| Send Message | send-message | Sends an email message to the recipients specified in the To, Cc, and Bcc headers. |
| Send Draft | send-draft | Sends an existing draft to the recipients specified in its To, Cc, and Bcc headers. |
| Delete Message | delete-message | Immediately and permanently deletes the specified message. |
| Delete Thread | delete-thread | Permanently deletes the specified thread and all its messages. |
| Delete Draft | delete-draft | Permanently deletes the specified draft. |
| Delete Label | delete-label | Permanently deletes a label and removes it from all messages and threads. |
| Modify Message Labels | modify-message-labels | Modifies the labels on the specified message. |
| 名称 | 标识 | 描述 |
|---|---|---|
| 列出邮件 | list-messages | 列出用户邮箱中的邮件。 |
| 列出会话线程 | list-threads | 列出用户邮箱中的邮件会话线程。 |
| 列出草稿 | list-drafts | 列出用户邮箱中的草稿。 |
| 列出标签 | list-labels | 列出用户邮箱中的所有标签,包括系统标签和自定义用户标签。 |
| 获取邮件 | get-message | 根据ID获取指定邮件。 |
| 获取会话线程 | get-thread | 获取指定会话线程,包括对话中的所有邮件。 |
| 获取草稿 | get-draft | 根据ID获取指定草稿,包括草稿邮件内容。 |
| 获取标签 | get-label | 根据ID获取指定标签,包括关联的邮件/会话线程数量。 |
| 获取个人资料 | get-profile | 获取当前用户的Gmail个人资料,包括邮箱地址和邮件/会话线程数量。 |
| 创建草稿 | create-draft | 创建新的邮件草稿。 |
| 创建标签 | create-label | 在用户邮箱中创建新的自定义标签。 |
| 更新草稿 | update-draft | 用新内容替换现有草稿的内容。 |
| 更新标签 | update-label | 更新现有标签的属性,包括名称、可见性和颜色。 |
| 发送邮件 | send-message | 向收件人、抄送人和密件抄送人发送邮件。 |
| 发送草稿 | send-draft | 将现有草稿发送给其指定的收件人、抄送人和密件抄送人。 |
| 删除邮件 | delete-message | 立即永久删除指定邮件。 |
| 删除会话线程 | delete-thread | 永久删除指定会话线程及其所有邮件。 |
| 删除草稿 | delete-draft | 永久删除指定草稿。 |
| 删除标签 | delete-label | 永久删除标签,并从所有邮件和会话线程中移除该标签。 |
| 修改邮件标签 | modify-message-labels | 修改指定邮件的标签。 |
membrane action run --connectionId=CONNECTION_ID ACTION_ID --jsonmembrane action run --connectionId=CONNECTION_ID ACTION_ID --json --input "{ \"key\": \"value\" }"membrane action run --connectionId=CONNECTION_ID ACTION_ID --jsonmembrane action run --connectionId=CONNECTION_ID ACTION_ID --json --input "{ \"key\": \"value\" }"membrane request CONNECTION_ID /path/to/endpoint| Flag | Description |
|---|---|
| HTTP method (GET, POST, PUT, PATCH, DELETE). Defaults to GET |
| Add a request header (repeatable), e.g. |
| Request body (string) |
| Shorthand to send a JSON body and set |
| Send the body as-is without any processing |
| Query-string parameter (repeatable), e.g. |
| Path parameter (repeatable), e.g. |
membrane request CONNECTION_ID /path/to/endpoint| 标志 | 描述 |
|---|---|
| HTTP方法(GET、POST、PUT、PATCH、DELETE),默认值为GET |
| 添加请求头(可重复使用),例如 |
| 请求体(字符串) |
| 简写方式,用于发送JSON请求体并设置 |
| 按原样发送请求体,不进行任何处理 |
| 查询字符串参数(可重复使用),例如 |
| 路径参数(可重复使用),例如 |
membrane action list --intent=QUERYmembrane action list --intent=QUERY