program that checks for mail, displays headers when new mail has arrived and allow to display first lines of new mails