https://github.com/novoid/mailhours
Visualize the times of the day of emails sent by a certain person (maildir)
https://github.com/novoid/mailhours
email emails quantified-self shell
Last synced: 8 months ago
JSON representation
Visualize the times of the day of emails sent by a certain person (maildir)
- Host: GitHub
- URL: https://github.com/novoid/mailhours
- Owner: novoid
- License: gpl-3.0
- Created: 2013-04-02T16:22:04.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2017-02-26T15:28:44.000Z (over 9 years ago)
- Last Synced: 2025-01-28T14:16:39.969Z (over 1 year ago)
- Topics: email, emails, quantified-self, shell
- Language: Shell
- Size: 22.5 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: license.txt
Awesome Lists containing this project
README
## Time-stamp: <2017-02-26 16:28:38 vk>
## -*- coding: utf-8 -*-
## This file is best viewed with GNU Emacs Org-mode: http://orgmode.org/
* mailhours (shell script)
syntax: mailhours QUERYSTRING [DIRECTORY] [DESCRIPTION]
mailhours searches for emails in ~/home/USER/Maildir/.tmp/cur~ or
[DIRECTORY] with QUERYSTRING in the From-lines.
A graph will be generated that shows at what hours the correspondent
emails from this querystring were sent.
Then you know when this person is typically sending email answers.
Configuration is done in the files:
: ./mailhours
... general defaults
: /home/USER/.config/mailhoursrc
... to override general defaults
examples:
: mailhours Torvalds
... generates a graph when Linux Torvalds
sends emails in my DEFAULTDIR folder
: mailhours Gates ~/Maildir/.spam/cur
... generates a graph when Bill Gates
sends his emails that are stored in
the folder ~/Maildir/.spam/cur
** Why
People tend to answer emails following a certain pattern. One person
might answer emails after lunch, others do it in the morning.
If you want to visualize the pattern of a person, you can use emails
send by her/his using this script.
** Example result
#+CAPTION: This is an example result image of a mailhours query
[[Example.png]]
** Configuration file example
A ~/.config/mailhoursrc file might look like this:
: ## ===================================================
: ## purpose: analyze emails of communications partners
: ## to know, at what hours they usually send
: ## their emails
: ## author: Karl Voit
: ## see scriptfile mailhours (in your path) for details
: ## ===================================================
:
: ## view the result with this command
: VIEWPROGRAM=xview
:
: ## if par2 is missing, this is the default Maildir directory
: DEFAULTDIR="${HOME}/Maildir/.tmp/cur"
:
: ## end config
** Dependencies
[[http://www.gnuplot.info/][gnuplot]]
A tool for displaying PNG files. By default, =geeqie= is configured.
GNU-tools like: sed, awk, (e)grep, sort, uniq, head
* Contribute!
I am looking for your ideas!
If you want to contribute to this cool project, please fork and
contribute!
* Local Variables :noexport:
# Local Variables:
# mode: auto-fill
# mode: flyspell
# eval: (ispell-change-dictionary "en_US")
# End: