updating for javamail test