This is a Gmail related issue. When a message is filtered in Gmail and is marked as ‘Never send to spam’, an Inbox tag is applied to the message matching the filter.
As the filter also applies to sent messages, these will appear in the inbox.
To solve this issue, delete or modify the filter in Gmail.