I want Audio notification for new Emails || Don't want to run a Mail Client all time

I want to hear a sound which I can manually specify like a WAV or MP3. Thunderbird offers this feature but since my desktop is low in RAM I don’t want to run Thunderbird all the time.

Is there anything in the repos which can do this ?

Note : The app must be lightweight on both CPU & RAM.

I am using Gmail.

This feature is already built into Gmail.

On the web

  1. Open [Gmail]
  2. At the top right, click Settings See all settings.
  3. Scroll down to Desktop notifications and select New mail notifications on or Important mail notifications on (if you use Priority Inbox).
    You can choose the sounds.
  4. Click Save Changes.

Note: Notifications appear on Chrome, Mozilla Firefox, and Apple Safari when you’re signed in to Gmail and have it open.

Edit: I tried this and the sounds work but it didn’t work when i tried it. Not sure if i missed something?

Edit2: It also does mention this.
Note: You won’t see any notifications if you turned off all notifications for your browser.

As an alternative under XFCE there is a plug-in, see here: https://askubuntu.com/questions/404936/xubuntu-xfce-is-it-possible-to-have-email-notification-in-the-system-tray

One big issue with that method & that is I must choose from the list of sounds that gmail is offering. I cant choose a custom sound file.

Done ! Added audio notification by adding the command

mpv /home/home/Downloads/email_recieved.mp3

I wish I could see at least the email subject line or sender.

The question is does it work? I tried on mine and it didn’t do anything when i got the mail.

Edit: I see you used another method. Okay then!

Yes the XFCE plugin works but I need to see the subject line & sender of the messages so that I can decide if I want to read the mail or not. I mean as you know we get like 10 spams in gmail inbox per day.

Look at this: http://www.nongnu.org/mailnotify/
This is not an XFCE plug-in, but a stand-alone programme. Can be found in AUR: https://aur.archlinux.org/packages/mail-notification/
I don’t know the tool, but it seems to offer everything you need.

yay -S ayatana-webmail

I have installed this one. I will test it for some hours & report back.