kernl API
    Preparing search index...

    Function createMailBridge

    • 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.

      Parameters

      • Optionalbackend: MailBackend

        The mail client; without one the bridge reports itself unavailable.

      Returns Bridge

      A bridge with id mail labelled mail.

      const bridge = createMailBridge(client);
      const conversation = await bridge.resolve(parseLocator('mailto:ada@example.com?subject=Hi'), { requester: 'shell' });