As a user that want to make search
I can write a query
In order to find emails.
**Scenario 1**
Given i have a keyword list and a operator list :
| **KEYWORD** | **OPERATOR** |
|receiver|is|
|Date|>,<,=|
| |AND,OR|
When i write "receiver John", the suggestion "receiver is John" appear and if i press enter.
Then the query "receiver is John" is written.
**Scenario 2**
Given i have a keyword list and a operator list :
| **KEYWORD** | **OPERATOR** |
|receiver|is|
|Date|>,<,=|
| |AND,OR|
When i write "receiver John Date>2016/03/18", a list suggestion appear
|"receiver is John" AND "Date>2016/03/18"|
| |AND||"receiver is John" OR "Date>2016/03/18"|
When i write "receiver John Date>2016/03/18", the suggestion "receiver is John" AND "Date>2016/03/18" appear and if i press enter.and if i press enter the first suggestion is selected
Then the query "receiver is John" AND "Date>2016/03/18" is written.
**Scenario 3**
Given i have a keyword list and a operator list :
| **KEYWORD** | **OPERATOR** |
|receiver|is|
|Date|>,<,=|
| |AND,OR|
When i write "receiver John Date 2016/03/18", a suggestion list appear :
|"receiver is John" AND "Date>2016/03/18"|
|"receiver is John" AND "Date<2016/03/18"|
|"receiver is John" AND "Date=2016/03/18"|
|"receiver is John" OR "Date>2016/03/18"|
|"receiver is John" OR "Date<2016/03/18"|
|"receiver is John" OR "Date=2016/03/18"|
and if i press enter the first suggestion is selected
Then the query "receiver is John" AND "Date>2016/03/18" is written.