Description
https://tools.ietf.org/html/rfc3501#section-5.1 states that:
3) Although the list-wildcard characters ("%" and "*") are valid in a mailbox name, it is difficult to use such mailbox names with the LIST and LSUB commands due to the conflict with wildcard interpretation. 5) Two characters, "#" and "&", have meanings by convention, and should be avoided except when used in that convention.
However there requirements are not enforced by the mailbox backend.
With JMAP we can create a mailbox containing forbidden characters leading to invalid mailbox namesfor instace containing `#`