public void processNotification(@ObservesAsync NotificationDto<?> notification) {
        boolean wantsNotification = notificationService.userWantsNotification(
                notification.getRecipient().getUsername(),
                NotificationType.EMAIL,
                notification
        );
        if (wantsNotification) {
            dispatch(notification);
        } else {
            LOGGER.trace("Notification recipient did not want an email for {0}", notification);
        }
    }
Observe, filter, and process notifications.

<ul>
    <li>Get email preferences for intended recipient</li>
    <li>Determine whether user wants emails for category notification belongs to</li>
    <li>If so, process notification, else drop through silently</li>
</ul>
manager/api/rest-impl/src/main/java/io/apiman/manager/api/notifications/email/EmailNotificationDispatcher.java