- email, mta, and timeout are hardcoded. they should realy be passed as
   comandline parameters or in config file or something.
- Killing the program at comandline through ^C also kills the spawned
  mta, which may cause loss of data. To fix this messages could be buffered
  and send to the mta when flush() is called (which also happend before program
  termination, unless it is killed with SIGKILL)
