# Feature OP-13669 - Inform an admin via email about an unhealthy automatically managed file storage

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-13669

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 14.0.0 |
| Sprint | 14.0.0 |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

| ID | Subject | Type | Status | Assignee | Target versions | Spent time |
| --- | --- | --- | --- | --- | --- | --- |
| OP-13670 | Add support for the storing the health status on a storage | Implementation | closed |  | 13.1.0 |  |
| OP-13671 | Send an email with the information and how to fix it. | Implementation | closed |  | 14.0.0 |  |
| OP-14441 | Possibility to deactivate health notifications for a single storage | Implementation | rejected |  |  |  |

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | Yes |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Andreas Pfohl |
| Product manager |  |
| Developers | OP Dev Titan Team |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** an OpenProject Admin  
**I want to** be warned when a configuration issue breaks the project folder synchronization with Nextcloud   
**so that** I can take steps to resolve it.

**Acceptance criteria**

*   An email shall be send directly once a problem is identified (only for completely setup File Storages with Automatically managed folders enabled)
*   Only email the admin once per day (at 2am) per faulty file storage integration (and not every 5 mins)
*   If possible add some information on how to fix the issue or what to send to support if they need help
*   When the error reason changes, send another email with the new error message
*   Send a mail when a setup is healthy again.

Hint:

*   use health status formatting function from Dominic `storage.rb`

**Designs and figma:**

https://www.figma.com/file/gtLQfPe09X7XugAH8L7dTy/File-Storages-Integration?type=design&amp;node-id=7060-38846&amp;mode=design&amp;t=Y9TPPtT6eh2IPMvZ-4
