added checkmail script to fetch number of unread emails