public ActionForward execute(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response) {
		ReaderForm readerForm = (ReaderForm) form;// TODO Auto-generated method stub
		
		String idmail = readerForm.getIdmail();
		
		TextToSpeech tts = new TextToSpeech();
		
		EmailDAO maidao = new EmailDAO();
		Email mail = new Email();
		
		String text= null;
		
		long idm = Long.parseLong(idmail);
		
		mail = maidao.findById(idm);
    	
    	text= "The subject is "+ mail.getSujet().trim()+ " and it contains " + mail.getContenu().trim();
    	text = text.replace("\n", "").replace("\r", "").replace("  ", " ").replace("\t","");
    	text = text.trim();
    	System.out.println(text);
    	tts.playSynth(text);
		
		
		
		return mapping.findForward("go");
	}