Update receive.py

use slugify to handle attachments filenames with unicode characters because attachments saved with utf-8 or iso8859-1 were unusable after saving
update file name to use doc name for security concern, because 2 people sending a document with the same file name doesn't mean it is the same document.
remove email only after processing to avoid losing