private String emailToString(String subject,String msg,String... to){
  return "[" + msg + "] to "+ Arrays.asList(to)+ " with subject ["+ subject+ "]";
}

private String emailToString ( String subject , String msg , String ... to ) { return "[" + msg + "] to " + Arrays . asList ( to ) + " with subject [" + subject + "]" ; }
just a helper method which makes the logging of an email easier .
