Made mail system resilient to redis failures