def send_to_other_email(name, email_address, title, url):
    name_quoted = quote(name)
    email_address_quoted = quote(email_address)
    title_quoted = quote(title)
    url = get_shortened_url(url)
    msg_quoted = f'mailto:{email_address}?subject=ezEML-Generated%20Data%20Package&body=Dear%20{name}%3A%0D%0A%0D%0AI%20have%20created%20a%20data%20package%20containing%20EML%20metadata%20and%20associated%20data%20files%20for%20your%20inspection.%0D%0A%0D%0ATitle%3A%20%22{title}%22%0D%0A%0D%0AThe%20data%20package%20is%20available%20for%20download%20here%3A%20{url}%0D%0A%0D%0AThe%20package%20was%20created%20using%20ezEML.%20After%20you%20download%20the%20package%2C%20you%20can%20import%20it%20into%20ezEML%2C%20or%20you%20can%20unzip%20it%20to%20extract%20the%20EML%20file%20and%20associated%20data%20files%20to%20work%20with%20them%20directly.%0D%0A%0D%0ATo%20learn%20more%20about%20ezEML%2C%20go%20to%20https%3A%2F%2Fezeml.edirepository.org.%0D%0A%0D%0AThanks!'
    msg_html = Markup(f'Dear {name}:<p><br>I have created a data package containing EML metadata and associated data files for your inspection.<p>Title: "{title}"<p>The data package is available for download here: {url}.<p>The package was created using ezEML. After you download the package, you can import it into ezEML, or you can unzip it to extract the EML file and associated data files to work with them directly.<p>To learn more about ezEML, go to https://ezeml.edirepository.org.<p>Thanks!')
    msg_raw = f'''Dear {name}:

I have created a data package containing EML metadata and associated data files for your inspection.

Title: "{title}"

The data package is available for download here: {url}.

The package was created using ezEML. After you download the package, you can import it into ezEML, or you can unzip it to extract the EML file and associated data files to work with them directly.

To learn more about ezEML, go to https://ezeml.edirepository.org.

Thanks!'''
    return (msg_quoted, msg_html, msg_raw)
def send_to_other_email(name, email_address, title, url):
    name_quoted = quote(name)
    email_address_quoted = quote(email_address)
    title_quoted = quote(title)
    url = get_shortened_url(url)
    msg_quoted = f'mailto:{email_address}?subject=ezEML-Generated%20Data%20Package&body=Dear%20{name}%3A%0D%0A%0D%0AI%20have%20created%20a%20data%20package%20containing%20EML%20metadata%20and%20associated%20data%20files%20for%20your%20inspection.%0D%0A%0D%0ATitle%3A%20%22{title}%22%0D%0A%0D%0AThe%20data%20package%20is%20available%20for%20download%20here%3A%20{url}%0D%0A%0D%0AThe%20package%20was%20created%20using%20ezEML.%20After%20you%20download%20the%20package%2C%20you%20can%20import%20it%20into%20ezEML%2C%20or%20you%20can%20unzip%20it%20to%20extract%20the%20EML%20file%20and%20associated%20data%20files%20to%20work%20with%20them%20directly.%0D%0A%0D%0ATo%20learn%20more%20about%20ezEML%2C%20go%20to%20https%3A%2F%2Fezeml.edirepository.org.%0D%0A%0D%0AThanks!'
    msg_html = Markup(f'Dear {name}:<p><br>I have created a data package containing EML metadata and associated data files for your inspection.<p>Title: "{title}"<p>The data package is available for download here: {url}.<p>The package was created using ezEML. After you download the package, you can import it into ezEML, or you can unzip it to extract the EML file and associated data files to work with them directly.<p>To learn more about ezEML, go to https://ezeml.edirepository.org.<p>Thanks!')
    msg_raw = f'Dear {name}:

I have created a data package containing EML metadata and associated data files for your inspection.

Title: "{title}"

The data package is available for download here: {url}.

The package was created using ezEML. After you download the package, you can import it into ezEML, or you can unzip it to extract the EML file and associated data files to work with them directly.

To learn more about ezEML, go to https://ezeml.edirepository.org.

Thanks!'
    return (msg_quoted, msg_html, msg_raw)