We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae0a98b commit 4eb19b4Copy full SHA for 4eb19b4
components/gmail/actions/create-draft/create-draft.mjs
@@ -73,6 +73,18 @@ export default {
73
"mimeType",
74
],
75
},
76
+ fromEmail: {
77
+ propDefinition: [
78
+ gmail,
79
+ "fromEmail",
80
+ ],
81
+ },
82
+ signature: {
83
84
85
+ "signature",
86
87
88
89
async run({ $ }) {
90
this.attachmentFilenames = utils.parseArray(this.attachmentFilenames);
components/gmail/gmail.app.mjs
@@ -318,6 +318,10 @@ export default {
318
}
319
320
321
+ if (props.signature) {
322
+ props.body += props.signature;
323
+ }
324
+
325
if (props.bodyType === constants.BODY_TYPES.HTML) {
326
opts.html = props.body;
327
} else {
0 commit comments