Extracted contexts and subscription mailer from app.