def METHOD_NAME(self, message, text):
    # If a file has been specified as Body, then set Body to file contents.
    if os.path.isfile(text):
        body = FileOperations.open(text).read().strip()
    else:
        body = text
    message.attach(mimetext.MIMEText(body, message))