+
+ if (encrypt_to_key != None):
+ plaintext_reply = "thanks for the message!\n\n\n"
+ plaintext_reply += email_quote_text(plaintext)
+
+ encrypted_reply = encrypt_sign_message(plaintext_reply, encrypt_to_key,
+ sign_with_fingerprint)
+
+ reply += encrypted_reply
+
+ else:
+ reply += "Sorry, i couldn't find your key.\n"
+ reply += "I'll need that to encrypt a message to you."