Gravar-mail: Spin-optoelectronic devices based on hybrid organic-inorganic trihalide perovskites