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"'
{ "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 } }