not sure... why test for the 'mails' submodule and keep the previous mecanisme for the 'previews' submodule?
Also, wondering if we should import the app at all, and not just try to import the 'mails' and 'previews' modules straight away?

Thoughts?