Just a warning, there are two pretty big issues here: one, memcache is not durable -- it may evict keys at any time. Two, more easily dealt with, pickle should never be used for durable storage. It is extremely sensitive to changes in how a python class works (such as would quite likely happen across major versions of python in the email module); more robust serialization is necessary.