# Summary

* [Related EPIC](#related-epic)
* [Definition](#definition)
* [Screenshots](#screenshots)
* [Misc](#misc)

## Related EPIC

https://github.com/linagora/tmail-flutter/issues/1638

## Definition

- Given that I am a Tmail user and I have logged in successfully
- I click on Search bar => select advanced option 
- There will be a new search field: Label
- When I select this field,a popup is displayed
- On this popup, I can see the list of all current labels
- I can select one label or multipe label then click button Apply
- The selected labels will be displayed as tags on the search field Label, and in each tag there will be a cross icon to remove tag
- When I click button Search, the system will search all the mails that contains matched labels. 
- In case Search multiple labels, "and" operator will be applied 
   - For example: If I select 2 labels: A and B in field Lable, the system will search for all emails that have both Lable A and Label B


[Back to Summary](#summary)

## Screenshots
**Web verion**

![image](https://user-images.githubusercontent.com/68209176/228719041-783547d2-e09b-47a3-a1e2-7ee91fe064f9.png)

![image](https://user-images.githubusercontent.com/68209176/228719069-fc907834-695b-4339-b4d7-e7268709fb9a.png)

![image](https://user-images.githubusercontent.com/68209176/228719153-987c965a-45b1-49d4-8530-4401afd25be9.png)

**Mobile version**

![image](https://user-images.githubusercontent.com/68209176/229978829-970506cf-fda3-45ef-bb70-3aafdd8827de.png)

![Group 595](https://user-images.githubusercontent.com/68209176/229979079-dbf1c53d-cc9c-432a-8679-e87fd8835ea0.png)

![Group 597 (1)](https://user-images.githubusercontent.com/68209176/229979269-13ea825c-ab17-4cf2-aea2-56fca763349d.png)




[Back to Summary](#summary)

## Misc

None

[Back to Summary](#summary)
