[FIX] mail: model can be None or uninstalled

This is related to rev. 83b28737e9277d0612211900d49f539bb631dfb6