code: public List<MailSessionType<WebFragmentDescriptor>> getAllMailSession()
     {
        List<MailSessionType<WebFragmentDescriptor>> list = new ArrayList<MailSessionType<WebFragmentDescriptor>>();
        List<Node> nodeList = model.get("mail-session");
        for(Node node: nodeList)
        {
           MailSessionType<WebFragmentDescriptor>  type = new MailSessionTypeImpl<WebFragmentDescriptor>(this, "mail-session", model, node);
           list.add(type);
        }
        return list;
     }
docs: Returns all <code>mail-session</code> elements
  @return list of <code>mail-session</code>