Configuration
1 min read • 213 wordsCustomize go-mapi installation options and behavior.
Installer Options
The PowerShell installer supports several configuration flags:
.\install.ps1 [flags]| Flag | Default | Description |
|---|---|---|
-Unattended |
false |
Silent installation, no prompts |
-ExtensionId <id> |
Auto-detect | Browser extension ID (32 characters) |
-Version <tag> |
Latest | Pin to a specific release (e.g., v1.0.0) |
-InstallDir <path> |
C:\Program Files\go-mapi\ |
Custom installation directory |
-Local |
false |
Install from local build instead of GitHub |
-Uninstall |
false |
Remove go-mapi |
-KeepFiles |
false |
Keep files when uninstalling (registry-only removal) |
Installation Paths
| Component | Location |
|---|---|
DLL (go-mapi.dll) |
C:\Program Files\go-mapi\ |
Native host (go-mapi-host.exe) |
C:\Program Files\go-mapi\ |
| Native messaging manifest | C:\Program Files\go-mapi\ |
| Installation log | C:\Program Files\go-mapi\install.log |
| Runtime logs | %LOCALAPPDATA%\go-mapi\logs\ |
| Temp dropbox (IPC) | %TEMP%\go-mapi\ |
Registry Keys
go-mapi registers itself as a MAPI mail client in Windows:
HKLM:\SOFTWARE\Clients\Mail\go-mapiNative messaging hosts are registered per browser:
HKLM:\SOFTWARE\Google\Chrome\NativeMessagingHosts\com.marcfargas.go_mapi
HKLM:\SOFTWARE\Microsoft\Edge\NativeMessagingHosts\com.marcfargas.go_mapiExtension Behavior
The extension currently operates with sensible defaults. A settings page is coming soon, which will allow you to configure:
- Default action: Draft or send immediately
- Default account: Which Gmail account to use
- Notifications: Enable/disable desktop notifications
- Signatures: Append a configured signature
Logging
Installation Logs
The installer writes a detailed log to:
C:\Program Files\go-mapi\install.logNative Host Logs
The Go native messaging host logs to:
%LOCALAPPDATA%\go-mapi\logs\host.logExtension Logs
Access via the browser’s DevTools:
- Navigate to
chrome://extensionsoredge://extensions - Find go-mapi
- Click “Inspect views: service worker”
- Check the Console tab