Returns the number of unread mails for the sending user.
Samples
cURL
curl -X GET http://localhost/api/mailbox/unread-count
JavaScript
fetch("http://localhost/api/mailbox/unread-count")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/mailbox/unread-count");
Python
import requests
response = requests.get("http://localhost/api/mailbox/unread-count")
print(response.json())