public void extractEmails(String input){
		String emailRegex = "[A-z0-9_.]+@[A-z0-9_.]+([.com]|[.net]|[.edu])";
//		String emails = "someone@this.com, that one guy, realEmail@k.edu";
		//extracts email addresses from email message
//		[A-z0-9_.]+@[A-z0-9_.]+([.com]|[.net]|[.edu])
		
		p = Pattern.compile(emailRegex);
		m = p.matcher(input);
		
		ArrayList<String> al = new ArrayList<String>();

		while(m.find()){
			al.add(m.group());
		}
		System.out.println("Returned Emails");
		System.out.println(al.toString());
	}