Gravar-mail: Integrated avalanche photodetectors for visible light