simplified file creation
ensured user index is reloaded immediately

there might be a more elegant way (DRY)
added support for custom sender

this must be a user ID, just like recipients