Sent emails not logged to activities panel under accounts

When composing an email from the account view and using Activities panel. Sent emails are not shown under the activities tab.
Am I doing something wrong or is it a bug?

I’ve sent an email to this account, but neither Activity or History show any sent emails.