1. Configuration and management pipeline
1.1. pipeline 1
1.1.1. The user logs in
1.1.1.1. System fetches dashboard according to the users role
1.1.1.1.1. Admin:
1.1.1.1.2. Manager:
1.1.1.1.3. Secretary:
1.2. pipeline 2
1.2.1. Data retrieval from mailboxes
1.2.1.1. on creation
1.2.1.1.1. System goes through dedicated flow(every type of input is managed through different flows)
1.2.1.2. if account is already created
1.2.1.2.1. Retrieve newly arrived mail
1.3. pipeline 0
1.3.1. The user creates an account using his email and specifies his role (Manager, Admin or Secretary)
1.3.1.1. Account is approved/disapproved by the manager before creation
1.3.2. Creation of Managers account is done during installation
2. Channel pipeline
2.1. Pipeline 0
2.1.1. User specifies mailbox (Whatsapp, Teams, IMAP, Outlook...)
2.1.1.1. User uploads addresses to be monitored (List of emails, list of whatsapp numbers...)
2.1.1.1.1. System validates and asks for permission to access the addresses mailboxes.
2.2. Pipeline 1
2.2.1. Channel checks for newly arrived mail every X period of time
2.2.1.1. Triggers pipeline 2 in config. & manag. pipeline) and returns address of the monitored mailbox