Fix sending error when subject parameter is unset.

If we're sending a reply to a thread and there's no subject given, use the
thread's subject; otherwise use the empty string. Fixes TypeError in gmail
sending code.