powr-sdk-api 4.1.6 → 4.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -322,12 +322,14 @@ class ToolsManager {
322
322
  async executeGmailAction(actionId, params, config) {
323
323
  const nodemailer = require('nodemailer');
324
324
  try {
325
- // Create transporter
326
- const transporter = nodemailer.createTransporter({
327
- service: 'gmail',
325
+ // Create transporter using the exact config from ai-pitcher
326
+ const transporter = nodemailer.createTransport({
327
+ host: 'smtp.gmail.com',
328
+ port: 465,
329
+ secure: true,
328
330
  auth: {
329
331
  user: config.email,
330
- pass: config.appPassword // Use app password for Gmail
332
+ pass: config.appPassword
331
333
  }
332
334
  });
333
335
  switch (actionId) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "powr-sdk-api",
3
- "version": "4.1.6",
3
+ "version": "4.1.8",
4
4
  "description": "Shared API core library for PowrStack projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",