notmuch: add $record support

Signed-off-by: Karel Zak <kzak@redhat.com>