added working proxy view for downloading attachments and viewing inline images.
fixes a few small issues for the celery task save_email_messages: