The rest of these features are just frills, like replying to an email, or getting a previous random entry.
A simple shellscript does the main job. In fact, mine actually used to do a "tail" of the existing file before prompting me for a new entry, but i found that a bit annoying.