fix an import removal mistake while moving email_as_string function: StringIO was not only used by email_as_string