Authorization: Bearer ********************X-API-Key: ********************curl --location 'https://bettermail-demo.wuyuan.dev/mails?to=demo%40190823.xyz&limit=&token=' \
--header 'Authorization: Bearer <token>'{
"code": 0,
"message": "ok",
"data": {
"list": [
{
"id": "string",
"receivedAt": "2019-08-24T14:15:22.123Z",
"from": "string",
"to": "string",
"subject": "string",
"messageId": "string",
"date": "string",
"text": "string",
"html": "string",
"headers": {
"property1": "string",
"property2": "string"
},
"attachments": [
{
"filename": "string",
"mimeType": "string",
"size": 0,
"contentId": "string",
"contentBase64": "string"
}
],
"rawBase64": "string",
"rawSize": 0
}
],
"to": "string",
"hasMore": true
}
}