#email #cli #systray #notification

app buzz

A simple system tray application for notifying about unseen e-mail

17 stable releases

1.1.10 Jul 1, 2019
1.1.6 Feb 19, 2019
1.1.2 Dec 4, 2018
1.1.1 Nov 23, 2018
0.3.0 May 15, 2017

#7 in Email

Download history 24/week @ 2019-03-18 149/week @ 2019-03-25 22/week @ 2019-04-01 4/week @ 2019-04-08 5/week @ 2019-04-15 43/week @ 2019-04-22 25/week @ 2019-04-29 23/week @ 2019-05-06 22/week @ 2019-05-13 67/week @ 2019-05-20 19/week @ 2019-05-27 38/week @ 2019-06-03 47/week @ 2019-06-10 52/week @ 2019-06-17 154/week @ 2019-06-24

174 downloads per month

MIT/Apache

59KB
327 lines

Introduction

Using mutt (or pine), but annoyed that it doesn't give you any notifications when you've received new emails? buzz is a simple tray application that detects new emails on IMAP servers using IDLE (push rather than pull). When it detects unseen messages, it shows a OSD style notification and changes the tray icon to indicate that you have new mail.

This project is a Rust fork of hasmail, which provides basically the same features, and is written in Go.

What does it look like:

no new e-mail new e-mail

new e-mail notification

Configuration

buzz looks for a TOML configuration file in ~/.config/buzz.toml on startup. The configuration file consists of a number of sections, each corresponding to one account:

[gmail]
server = "imap.gmail.com"
port = 993
username = "jon@gmail.com"
pwcmd = "gnome-keyring-query get gmail_pw"

Account fields

The value in [] can be anything (though avoid . as it will be parsed as a new TOML section), and is shown in the tooltip when new e-mails arrive for an account. The options for an account are as follows:

  • server: The address to connect to. MUST currently be SSL/TLS enabled.
  • port: The port to connect to.
  • username: Username for authentication.
  • pwcmd: Command to execute to get password for authentication.

TODOs

  • click command
  • hover tooltip
  • customizeable folder

Dependencies

~12MB
~288K SLoC