Creates the bridge for mail addresses. The user's mail provider, not the correspondent, sees the user's address; the connection to it is encrypted.
Optional
The mail client; without one the bridge reports itself unavailable.
A bridge with id mail labelled mail.
mail
const bridge = createMailBridge(client);const conversation = await bridge.resolve(parseLocator('mailto:ada@example.com?subject=Hi'), { requester: 'shell' }); Copy
const bridge = createMailBridge(client);const conversation = await bridge.resolve(parseLocator('mailto:ada@example.com?subject=Hi'), { requester: 'shell' });
Creates the bridge for mail addresses. The user's mail provider, not the correspondent, sees the user's address; the connection to it is encrypted.