Is there a way to stop Mail from accumulating downloaded files?

If you use Apple Mail, a copy of every attachment you open is stored in /Users/[home directory]/Library/Containers/com.apple.mail/Data/Library/Mail Downloads

From time to time I delete all of these but I imagine for some people this folder can become enormous.

Is there any way to prevent this container from retaining the attachment after the message (or Mail) is closed?
Re: How to stop Mail from accumulating downloaded files

Try turning off the setting to automatically download attachments. It sounds like what you're looking for.

Screen Shot 2015-07-27 at 5.43.20 PM.png

Original thread: https://forums.imore.com/threads/is-there-a-way-to-stop-mail-from-accumulating-downloaded-files.336227/