Gravar-mail: A phase-retrieval toolbox for X-ray holography and tomography