django email client based on imapclient, ajax file upload, draft auto saving