refactor MailgunRepository to also make events available based on "severity