public static String getNextEmail(BufferedReader br) throws Exception {
        StringBuffer email = new StringBuffer(1024);
        
        String nextLine = br.readLine();
        if(nextLine == null) {
            return nextLine;
        }


        if(nextLine != null && nextLine.contains("::new email::")) {
            nextLine = br.readLine();
        }

        while( nextLine != null && !nextLine.contains("::new email::") ) {
            email.append(nextLine + "\n");
            nextLine = br.readLine();
        }
          
        return email.toString();

    }