def fetch_plaintext_by_subject(self, email_name):
if not email_name:<EOL><INDENT>raise EmailException("<STR_LIT>")<EOL><DEDENT>results = self.__imap_search(SUBJECT=email_name)<EOL>sources = self.fetch_plaintext(results)<EOL>return sources<EOL>
Get the plain text of an email, searching by subject.
@Params
email_name - the subject to search for
@Returns
Plaintext content of the matched email