Skip to content
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

OCS endpoint to get the account list #10588

Open
julien-nc opened this issue Jan 20, 2025 · 4 comments · May be fixed by #10735
Open

OCS endpoint to get the account list #10588

julien-nc opened this issue Jan 20, 2025 · 4 comments · May be fixed by #10735

Comments

@julien-nc
Copy link
Member

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like

Hey! Would it be possible to implement an OCS endpoint to get the list of email accounts?

We are mainly interested to get the account_id and the email for each account.

Describe alternatives you've considered

Or maybe it makes sense to make it possible to not give the account ID to /message/send and use the account that has the same email as the NC user account.

Additional context

It would be very helpful to implement a "Send email" tool in Context Agent (the agency feature of the assistant).
The /message/send OCS endpoint takes an accountId as param. To get this account ID we would get the account list and take the account that has the same email address as the NC user account.

cc @marcelklehr

@SebastianKrupinski
Copy link
Contributor

@julien-nc I will let the team know.

@ChristophWurst ChristophWurst moved this to 🧭 Planning evaluation in 💌 📅 👥 Groupware team Jan 24, 2025
@ChristophWurst ChristophWurst moved this from 🧭 Planning evaluation to 📄 To do in 💌 📅 👥 Groupware team Feb 6, 2025
@ChristophWurst
Copy link
Member

The groupware team will deliver this within the early Hub 11 development phase.

@st3iny
Copy link
Member

st3iny commented Feb 12, 2025

Just to clarify, a minimal API with a response containing the account id, primary email address and all aliases would be sufficient, right?

@marcelklehr
Copy link
Member

Yes that would be sufficient.

@st3iny st3iny linked a pull request Feb 20, 2025 that will close this issue
@st3iny st3iny moved this from 📄 To do to 🏗️ In progress in 💌 📅 👥 Groupware team Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🏗️ In progress
Development

Successfully merging a pull request may close this issue.

5 participants