The user-friendly, lightweight, and fast email client Latest Release: 3.13.0 (News), on 11 October 2015

The Python plugin

This plugin offers Python scripting access to Claws Mail.

Python code can be entered interactively into an embedded Python
console, or stored in scripts. 

These scripts are then available via the menu. You can assign
keyboard shortcuts to them just like it is done with other menu items.
You can also put buttons for script invokation into the toolbars
using Claws Mail's builtin toolbar editor.

You can provide scripts working on the main window by placing files
into ~/.claws-mail/python-scripts/main.

You can also provide scripts working on an open compose window
by placing files into ~/.claws-mail/python-scripts/compose.

The folder ~/.claws-mail/python-scripts/auto/ may contain some
scripts that are automatically executed when certain events
occur. Currently, the following files in this directory
are recognised:

  	Gets executed whenever a compose window is opened, no matter
  	if that opening happened as a result of composing a new message,
  	replying or forwarding a message.
  	Executed at plugin load
  	Executed at plugin unload

The distribution comes with some example scripts.