Getting emails from ref array