Gravar-mail: A foundation for automatic digital preservation