mail storage in a distributed database