Update EmailEndpoint.java