# Mysql, nodemailer not working in lambda

**URL:** <https://forum.serverless.com/t/mysql-nodemailer-not-working-in-lambda/7156>\
**Category:** Serverless Framework\
**Tags:** aws, lambda\
**Created:** [January 23, 2019, 6:06pm UTC](https://forum.serverless.com/t/mysql-nodemailer-not-working-in-lambda/7156 "2019-01-23T18:06:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![IkaMo22](https://avatars.discourse-cdn.com/v4/letter/i/958977/32.png) [@IkaMo22](https://forum.serverless.com/u/IkaMo22)\
**Post date:** [January 23, 2019, 6:06pm UTC](https://forum.serverless.com/t/mysql-nodemailer-not-working-in-lambda/7156/1 "2019-01-23T18:06:11Z")

</div>

I am trying to consult RDS through the mysql connector and the results send them by email, but when installing the first dependency ‘mysql’ the query is generated in a wrong way but the mailings are not made; the strange thing about this is that if I install Nodemailer first the emails are sent, but the queries are not generated, could someone help me?
