add email-buffer
change the code that determines when a push should be made.
Merge branch 'master' of github.com:jkitchin/jmax
merging Prateek's pull request