You have to be at Summary mode (defined in `gnus-sum.el') before
call the gnus-summary-repo-* function

; Best practice
1. Create a new group IMAP for only store your notes.
Example: nnimap+Gmail:Notes
2. Go to your group with all of the articles (unlimited articles, you will be Summary mode)
3. Use gnus-summary-repo-* function