This is a simple tool to check how many unread emails you have
Create a file email.yml
(see example) to configure email server and credentials
$ ./check_email email.yml
go minimum version: 1.20
go build -o check_status cmd/main.go
If you want this to execute on your i3status bar.
Replace the i3status for the script i3_common.sh
bar {
status_command i3_common.sh
}