fix the bug of not being able to receive large attachments - use tmp file instead of arguments in passing between python and php scripts