Sometimes I have a file in-memory, not saved to disk, and I'd like to add it as an attachment. Currently `add_attachment` only works on files that are saved to the filesystem. Please allow attaching files that are in-memory.