There is possibility to send imap commmands with curl. How to send create folder with it?
I found so far
curl “imap://username:password@in.example.com” -X ‘<COMMAND>’
Update: This command worked for me.
curl -v -k --ssl imap://mail.example.com --user "username:password" -X "CREATE <folder name>"