Email logic working in Album controller