https://api.us.nylas.com/v3/metrics/sendReturn send metrics by domain or sender
Returns send counts and rates grouped by sending domain, sender address, or recipient domain. Use it to find which of your domains or Agent Accounts has the highest bounce rate, or which mailbox provider is rejecting your mail. Rows are sorted by sent volume by default.
Query parameters
What to group by. agent_account groups by the sender email address. recipient_domain
covers the last 90 days at most.
The sort order, as <key>:<asc|desc>. The key is one of key, sent, delivery_rate,
bounce_rate, or complaint_rate.
The maximum number of rows to return. When there are more groups, the rest are combined into one
final row with the key (others).
The first day of the window, as a UTC date in YYYY-MM-DD format. Defaults to six days before
end, so the default window covers 7 days. A window can cover up to 365 days.
The last day of the window, as a UTC date in YYYY-MM-DD format. Defaults to today. Today is
included as a partial day.