Sender email resource Get sender emails for (SenderEmailEntity senderEmailEntity : mailQ.getSenderEmails()) { System.out.println(senderEmailEntity.getEmail()); } Get sender email SenderEmailEntity senderEmailEntity = mailQ.getSenderEmail(1L); System.out.println(senderEmailEntity.getEmail());