Doxcycle email drag and drop

If you drag and drop an email with a pdf attached that also has a .txt file attached, which seems to be a thing with what I presume is emails sent from some phones, the Doxcycle program crashes when you try to save and exit the file.