Access shared mailbox from script



  • Hi,
    is there a way to access a shared mailbox via IMAP, or some other way? REST? Something possible from script (in this case powershell).
    I know IMAP is possible, if the shared mailbox is set to active and so its treated as a regular mailbox. But then it counts as an additional user, which what I wanted to evite.
    Thank you.
    Joja


  • Kopano

    Hi @joja ,

    you are indeed not able to open the inbox of an inactive user via imap. You should could use the new rest api (available from 8.7.0 onwards) for this. We have an internal poc for a mail client based on this, so it should generally work, but might be missing features.

    Another possibility is to use python-kopano to script this directly, but you won’t be able to do this from windows as python-kopano depends on a few other kopano components. it does not need to run on the same system as your actual kopano installation, any linux system should do (wsl on windows is probably fine as well).


Log in to reply