x-dnd-open-file-other-window and xdnd-protocol-alist.
Attach a file by drag & drop or click to upload