public void sendMails(Stack<IncomingEmail> emails) {
		if (!emails.isEmpty()) {
			while (!emails.isEmpty()) {
				IncomingEmail email = emails.pop();
				out.println("OK GETNEWMAILS " + email.getSentBy() + 
							" \"" + email.getSubject() + 
							"\" \"" + email.getBody() +" \" "+ 
							(emails.isEmpty()? " *" : ""));
			}
		} else {
			out.println("OK GETNEWMAILS NOMAILS");
		}
	}