Authorization: Bearer ********************curl --location 'https://api.pitside.app/email/' \
--header 'activeTeamId;' \
--header 'Authorization: Bearer <token>'{
"id": "string",
"teamId": "string",
"sender": {
"id": "string",
"username": "string"
},
"subject": "string",
"textBody": "string",
"originalEmailId": "string",
"isSent": true,
"isDraft": true,
"sentAt": "2019-08-24T14:15:22.123Z",
"createdAt": "2019-08-24T14:15:22.123Z",
"recipients": [
{
"user": {
"id": "string",
"username": "string"
}
}
]
}