PHPackages                             toteph42/identity\_switch - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. toteph42/identity\_switch

ActiveRoundcube-plugin[Mail &amp; Notifications](/categories/mail)

toteph42/identity\_switch
=========================

This plugin allows users to switch between different identities (and check for new mails) in a single Roundcube session.

3.0.10(6d ago)221.5k↑275%9[2 issues](https://github.com/toteph42/identity_switch/issues)GPL-3.0+PHPPHP &gt;=8.1

Since Oct 7Pushed 6d ago3 watchersCompare

[ Source](https://github.com/toteph42/identity_switch)[ Packagist](https://packagist.org/packages/toteph42/identity_switch)[ Docs](https://github.com/toteph42/identity_switch)[ RSS](/packages/toteph42-identity-switch/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (15)Versions (103)Used By (0)

Identity switch plugin for Roundcube
====================================

[](#identity-switch-plugin-for-roundcube)

[![](https://camo.githubusercontent.com/0639726e7976de1b0876073aae8712afc409a661853f11099b29f87d08e2e615/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f7465706834322f6964656e746974795f7377697463682e737667)](https://camo.githubusercontent.com/0639726e7976de1b0876073aae8712afc409a661853f11099b29f87d08e2e615/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f7465706834322f6964656e746974795f7377697463682e737667)[![](https://camo.githubusercontent.com/1f6232a98887039c124d4b1bea7a241206917434f7e9c3238a838be7d641b1a6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746f7465706834322f6964656e746974795f7377697463682e737667)](https://camo.githubusercontent.com/1f6232a98887039c124d4b1bea7a241206917434f7e9c3238a838be7d641b1a6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746f7465706834322f6964656e746974795f7377697463682e737667)[![](https://camo.githubusercontent.com/0eca029e43680a92a0f406b4f689c505c42a21e097bf5c2c5883a3ab1007424b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f7465706834322f6964656e746974795f7377697463682e737667)](https://camo.githubusercontent.com/0eca029e43680a92a0f406b4f689c505c42a21e097bf5c2c5883a3ab1007424b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f7465706834322f6964656e746974795f7377697463682e737667)

This plugin allows users to switch between different identities in a single **RoundCube** session like this:

[![Plugin settings](./assets/Pic06.png "Identity selection")](./assets/Pic06.png)

If you receive new mails, the number of new mails will be shown in identity selection menue.

### Where to start

[](#where-to-start)

- In settings interface create new identity.
- Be sure to fill in the **Name of identity**.
- After you have created at least one identity you will see combobox instead of plain text field where your account name was displayed before. There you can switch between the identifities.

### Settings

[](#settings)

From now on all user preferences and connection settings will belong to the active identity. To indicate for which dentity you're changing preferences, you will see the identity in the header line in format `[ Identity: {Active Identity} ]` in the `Preference` menue.

There are some new setting available in `Preference` -&gt; `Mailbox view`.

[![Plugin settings](./assets/Pic05.png "Notification settings")](./assets/Pic05.png)

- **Check all folders...** - Select this option, if you want all folders to be check for new mails.
- **Display browser notification...** - Select this option, if you want to get a changed icon for this site. Please be aware, that the icon will change only one time, even if there a new mails for multiple identities available (until next new-mail check-cycle is started).
- **Display desktop notification...** - Select this option, if you want to get a desktop notification about how many new mails were available. Please be aware, you need to allow your mail server site in your browser configuration to send notifications to your desktop.
- **Close desktop notification** - Specify how many seconds should be visible before it is automatically been closed.
- **Play sound...** - Select this option, if you want a sound notification. Please be aware, that only sound will be played one time only, even if there are new mails for multiple identities available (until next new-mail check cycle is started). If you hear no sound playing, please check your browser settings, if auto-play of sound files is enabled.

If you select an identity to edit, then you'll see an additional box name **Preferences managed by identity\_switch plugin** with all user preferences used for this identity. You may edit the seeting and save them to the idenity.

Please note:

- All passwords were show as ●●●●●●●●. If you enter a new password, it will be stored encrypted.
- If you set the `cfg_hide_pref` to `true`, then all preferences will be hidden.
- Most of the settings were defined in `default.inc.php`. For a descption about allowed content please refer to`config/default.inc.php`.
- All preferences will override **RoundCube** settings for current identity. The accociated settings differs in name only by the `isw_` prefix used by plugin.

### Configuration

[](#configuration)

There is a file `plugins/identity_switch/default.inc.php` in the plugin directory available. This file can be used to specify some individual preferences. Please copy file to `plugins/identity_switch/config.inc.php` and change there your preferences.

If you want to change sound, icon or desktop icon, please checkout `alert.mp3`, `alert.ico` and `alert.gif` in sub-directory `assets`.

### Locking configuration

[](#locking-configuration)

You may use the `dont_override` configuration option in your **RoundCube** configuration file `config/config.inc.php` to lock settings from being overriden. Plugin connection settings cannot be locked.

### Performance

[](#performance)

New mail checking is performed in background asynchronously. This has the effect that the new mail counter is not always updated immediately after login - it may take some time before this has been performed. It heavily depends on the number of identities you're using.

If you've select **Check all folders**, this has a huge impact on the time new-mail checking need to collect information. If you have hundreds of folders in your mail box, each of the boxes will be checked for new mails.

Depending on the workload on your host, it migth happen, that the menue isn't opened as quick as expected. This depend on how **RoundCube** is able to handle the synchroneous Ajax requests.

### Version compatibility

[](#version-compatibility)

Versions 3.x - for **RoundCube** v1.6.x and c1.7.x requires PHP version &gt;= 8.0.0.

### Limitations

[](#limitations)

This plugin only supports `Classic`, `Elatic`, `Larry` and `Hivemail` skin. If you wan't to get another skin to be supoorted, then please contact me. I can add support for other skin if you buy for it.

### License

[](#license)

This plugin is released under the [GNU General Public License v3.0](./LICENSE).

### Debugging

[](#debugging)

If you encounter problems with plugin, take a look at the debug options available in `default.inc.php`.

If you encounter **connection problems**, it is a good idea to enable **RoundCube** available debugging options.

### Donation

[](#donation)

If you like this software and you want support my work, feel free to send me a donation:

[ ![Donate with PayPal](https://camo.githubusercontent.com/0145f4c212cf9f2b903c0ea3b8f27e952bde347eb91cf920353e02380d74e818/68747470733a2f2f7777772e70617970616c6f626a656374732e636f6d2f656e5f55532f444b2f692f62746e2f62746e5f646f6e61746543435f4c472e676966) ](https://www.paypal.com/donate/?hosted_button_id=DS6VK49NAFHEQ)

\[[List of changes](./Changes.md)\]

###  Health Score

55

—

FairBetter than 97% of packages

Maintenance97

Actively maintained with recent releases

Popularity32

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~8 days

Recently: every ~2 days

Total

102

Last Release

6d ago

Major Versions

1.1.21 → 2.0.12025-10-07

2.0.24 → 3.0.02026-05-22

PHP version history (2 changes)1.0.0PHP &gt;=8.0.0

2.0.16PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/c366be98e040cad90b26823f020359c540b474a34a111e8e9e579dec07ef4c18?d=identicon)[toteph42](/maintainers/toteph42)

---

Top Contributors

[![andreiapostu](https://avatars.githubusercontent.com/u/66628436?v=4)](https://github.com/andreiapostu "andreiapostu (5 commits)")[![toteph42](https://avatars.githubusercontent.com/u/2334583?v=4)](https://github.com/toteph42 "toteph42 (5 commits)")[![CodeShakingSheep](https://avatars.githubusercontent.com/u/19874562?v=4)](https://github.com/CodeShakingSheep "CodeShakingSheep (2 commits)")[![buttercookie42](https://avatars.githubusercontent.com/u/7611366?v=4)](https://github.com/buttercookie42 "buttercookie42 (1 commits)")[![n3storm](https://avatars.githubusercontent.com/u/220748?v=4)](https://github.com/n3storm "n3storm (1 commits)")

---

Tags

identitynew mail checknotify new mailselect identityswitch used

### Embed Badge

![Health badge](/badges/toteph42-identity-switch/health.svg)

```
[![Health](https://phpackages.com/badges/toteph42-identity-switch/health.svg)](https://phpackages.com/packages/toteph42-identity-switch)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k251.7M11.6k](/packages/symfony-framework-bundle)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[symfony/asset-mapper

Maps directories of assets &amp; makes them available in a public directory with versioned filenames.

1678.8M238](/packages/symfony-asset-mapper)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
