Let me explain, m.get_body_encoded() returns a text, I have to find a word in the text or a value, if it is found, launch a script or closes the program. Now, the question is: can I search directly in the output or do I save the output to a file and search within the file?