1. Mail APIs
ELink Open API
  • Mail APIs
    • Get Mail List
      POST
    • Get Mail Detail
      POST
    • Sync Mail Config To Local
      POST
    • Create Mail Config
      POST
    • Update Mail Config
      POST
    • Delete Mail Config
      POST
  • Proxy APIs
    • Get Proxy List
      POST
    • Get Proxy Detail
      POST
    • Create Proxy
      POST
    • Update Proxy
      POST
    • Delete Proxy
      POST
  • Message APIs
    • Get Message Folder List
      POST
    • Get Message List
      POST
    • Get Message Detail
      POST
    • Send Message
      POST
    • Mark Read Or Unread
      POST
    • Move Message To Target Folder
      POST
    • Mark Starred Or Unstarred
      POST
  1. Mail APIs

Get Mail List

POST
http://localhost:18321/v1/mail/list
Get the list of mail accounts accessible by the current open-platform token. This API proxies the remote open-api mail list endpoint.

Request

Body Params multipart/form-dataRequired

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:18321/v1/mail/list' \
--form 'token="{{token}}"' \
--form 'limit="20"' \
--form 'offset="1775190754,mail_demo_002"' \
--form 'mail="de***@example.com"' \
--form 'remark="Demo mail"' \
--form 'mail_id="mail_demo_001"'

Responses

🟢200
application/json
Success
Body

Example
{
    "code": 200,
    "msg": "ok",
    "data": {
        "list": [
            {
                "mail_id": "mail_demo_001",
                "mail": "de***@example.com",
                "user_id": "user_demo_001",
                "group_id": "",
                "proxy_id": "",
                "provider_id": "google",
                "auth_type": "oauth",
                "remark": "Demo mail",
                "status": 1,
                "created_at": 1775190754,
                "updated_at": 0,
                "mail_profile": {
                    "mail_id": "mail_demo_001",
                    "raw_mail": "de***@example.com",
                    "nickname": "Demo account",
                    "avatar": "https://example.com/avatar/demo.png",
                    "password": "",
                    "created_at": 1775190754,
                    "updated_at": 0
                }
            }
        ],
        "next_offset": "",
        "has_more": false
    }
}
Modified at 2026-04-10 06:29:30
Next
Get Mail Detail
Built with