Script: inbox-imap-python
A script that shows if there are unread mails in your IMAPs inbox.
Configuration
For Gmail, you must allow less secure apps.
Module
[module/inbox-imap-python]
type = custom/script
exec = ~/polybar-scripts/inbox-imap-python.py
interval = 60