How can I get notified of mailed and scan events?