First edit your git configuration (e.g., ~/.gitconfigl.

Here’s an example for email address joe.example@runbox.com:

[user]
name = "Joe Example"
email = "joe.example@runbox.com"
[imap]
folder = "Inbox.Drafts"
host = imaps://secure.runbox.com
user = joe.example
sslverify = true

Then, when you want to send a git patch using runbox email, do it using:
git format-patch --to DESTINATION --stdout master | git imap-send

where “DESTINATION” is an email address to send the patch to such as “git@vger.kernel.org”;
you can replace “master” with a revision range.

Now log in to runbox using an email client and view the “Drafts” folder; your new patch(es) will be there.
Review them, and if you like them, send them.

Thanks to David A. Wheeler for the instructions.