@staticmethod
def __collection_init__(client):
    """Write some collection initial operation, like set some index."""
    client.storage.drop_indexes()
    client.storage.create_index('timestamp', expireAfterSeconds=86400)
    client.storage.create_index('mail')
