/** * Format a From: respecting the notification service replyable configuration * * @param event * @return */ protected String getFrom(Event event) { if (NotificationService.isNotificationFromReplyable()) { // from user display name <email> return "From: " + getFromEventUser(event); } else { // from the general service, no reply return "From: " + getFromService(); } }