These are favicons. I assume it’s just grabbing them from the websites of the respective domain names from which the messages were sent, e.g. https://letsencrypt.org/favicon.ico.
You can disable this under Mail Preferences → General → Gravatar Preferences → Use gravatar and favicon avatars.