Added A.java for email functionality