Is it possible to be notified immediately if you're attaching a file that's not allowed?