# Source: https://docs.avaamo.com/user-guide/deprecated-and-removed-features/v8.2.0-deprecated-features.md

# v8.2.0 - Deprecated features

This page contains the features that have been deprecated in the `v8.2.0` release.&#x20;

{% hint style="success" %}
See [Release life cycle](https://docs.avaamo.com/user-guide/about-releases/release-life-cycle), for more information on what deprecated features mean.
{% endhint %}

## Deprecated features <a href="#deprecated-features" id="deprecated-features"></a>

Continuously evaluating product capabilities, Avaamo consistently works towards enhancing overall customer value by upgrading older features with significantly improved alternatives.&#x20;

This section lists features and capabilities marked as deprecated with the  `v8.2.0` release. Generally, features planned for removal in a future release are set to deprecated first, with an alternative provided.

Customers are advised to review if they use the feature/capability in their current use cases and plan to change their implementation to use the alternative provided.

| Area                        | Feature                                                                                                                                                                                                                                                                                                                | Alternative                                                                                                         |
| --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| Build skills > Upload Files | <p><a href="../../how-to/build-skills/create-skill/customize-your-skill/how-to/build-dynamic-skill-response/card/file-upload#access-the-uploaded-file-and-send-an-email">Files API<br></a><br><br>[https://cx.avaamo.com/files/\&#x3C;\&#x3C;files.uuid>>](https://cx.avaamo.com/files/\&#x3C;\&#x3C;files.uuid>>)</p> | You can use `context.last_message.<<uuid>>.url`to access the uploaded file. Refer to the below mentioned sample JS. |

Add the following sample JS to access the uploaded file and send it as an email attachment:

```javascript
var access_token = "UoF4VLjeq9uH0dzki3-79gclgRpf8hr9"; // agent access Token
var url=context.last_message.<<uuid>>.url;
// here, uuid is the secure random uuid provided at the time of upload. 
// See File upload syntax for more information
try {
    var file_content = await (fetch(url).then(res => res.buffer()));
    var email_sender = await (Email.send({
        to: ["John@avaamo.com"],
        from: ["admin@macpizza.com"],
        subject: "Your Pizza Order",
        body: "Here, is the pic of your pizza baking right now!!! Enjoy.",
        attachments: [{
            filename: context.last_message.<<uuid>.name,
            content: file_content
        }]
    }));
    if (email_sender.status == 'SUCCESS') {
        return "Email Sent";
    } else {
        return "Failed to send email. Kindly try again later.";
    }
} catch (error) {
    return "Sorry, something unexpected happened when processing your request. Please try again later.";
}
```