Java Program for reading Unread email from Gmail Inbox

Pass username and password from command line for accessing your gmail account
What if no arguments pass in program? Please add exception.