def save(email, subject, text, html, dest_dir, fallback_locale=None):
    locale = fallback_locale if fallback_locale else email.locale

    os.makedirs(os.path.join(dest_dir, locale), exist_ok=True)
    save_file(subject, dest_dir, locale, email.name + SUBJECT_EXTENSION)
    save_file(text, dest_dir, locale, email.name + TEXT_EXTENSION)
    save_file(html, dest_dir, locale, email.name + HTML_EXTENSION)
Disconnects from the device.
dataset/ETHPy150Open KeepSafe/ks-email-parser/email_parser/fs.py/save--crossover with--dataset/ETHPy150Open google/capirca/tools/ldpush/base_device.py/BaseDevice.Disconnect