Geek Culture
Published in

Geek Culture

Automating Email Notifications for File Updates — Java WatchService & Mail API

Code Implementation + Use-Case Explanation

Every morning 8am as I switch on my work laptop and tune into my Microsoft Outlook inbox, without a doubt I would have received at least 7–8 emails all of which concern several file updates up till 6pm in the late afternoon during those 9 hours (excluding lunch hour):

Illustration by Author | A sample dummy screenshot to showcase an email notification about a file update from a colleague

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store