public void saveNeuMail(String user, String host, String message) {

        Mail email = new Mail(user, host, message);

        File userMailBox = new File(new File(dir.getAbsolutePath()), user);
        if (!userMailBox.exists()) {
            userMailBox.mkdirs();
        }

        File file = new File(userMailBox, email.getUidl());

        if (!file.exists()) {
            try {
                file.createNewFile();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }

        FileOutputStream fis = null;
        try {
            fis = new FileOutputStream(file);
            ObjectOutputStream o = null;
            o = new ObjectOutputStream(fis);
            o.writeObject(email);
            o.flush();
            fis.close();
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }