public void deleteFolder(FolderDTO folderDTO) throws DataProcessingException {
		if (folderDTO.getFolderName().equals("Inbox")
				|| folderDTO.getFolderName().equals("Outbox")
				|| folderDTO.getFolderName().equals("Draft")) {
			throw new DataProcessingException(ExceptionType.systemFolderDeletion);
		}

		Folder folder = folderDAO.getFolder(folderDTO.getId());

		if (folder == null) {
			logger.warn("Folder with name " + folderDTO.getFolderName() + " does not exist");
			throw new DataProcessingException(ExceptionType.folderDoesNotExist);
		}

		folderDAO.delete(folder);

		logger.info("Folder " + folderDTO.getFolderName() + " successfully deletes");
	}