- 
                Notifications
    You must be signed in to change notification settings 
- Fork 3
Feat: add mail inbox tools #54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
        
          
                ex_app/lib/all_tools/mail.py
              
                Outdated
          
        
      | @safe_tool | ||
| def get_mail_folder_list(account_id: int): | ||
| """ | ||
| Lists all mail folders account. You need to get the correct account id matching the request first before using this tool. | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Lists all mail folders account. You need to get the correct account id matching the request first before using this tool. | |
| Lists all mail folders for an account. You need to get the correct account id matching the request first before using this tool. | 
        
          
                ex_app/lib/all_tools/mail.py
              
                Outdated
          
        
      | def list_mails(folder_id: int, n_mails: int = 30): | ||
| """ | ||
| Lists all messages in a mailbox folder. You need to get the correct folder id matching the request first before using this tool. | ||
| :param folder_id: The id of the folder to list as integer, obtainable via folder | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| :param folder_id: The id of the folder to list as integer, obtainable via folder | |
| :param folder_id: The id of the folder to list as integer, obtainable via get_mail_folder_list | 
        
          
                ex_app/lib/all_tools/mail.py
              
                Outdated
          
        
      | """ | ||
| Lists all messages in a mailbox folder. You need to get the correct folder id matching the request first before using this tool. | ||
| :param folder_id: The id of the folder to list as integer, obtainable via folder | ||
| :param n_mails: The number of mails to receive. Optional, default is 10 | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| :param n_mails: The number of mails to receive. Optional, default is 10 | |
| :param n_mails: The number of mails to receive. Optional, default is 30 | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Woop woop
| Mh, our CI servers might have been blacklisted by the OSM API. This happened to me in another project with a different API 🙈 | 
| Hmm we could test for something else? | 
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
| @janepie Could you rebase? :) | 
| 
 Sure, but this is a little bit on hold right now as it's low priority and I wanted to have a look if I can polish it up a bit more. I could set it to Draft? | 
| Alright, sure :) | 
based on nextcloud/mail#11425
adds