Send Customized emails with attachments using models

The problem I’m having - Trying to send email using smtp in models.

The context of why I’m trying to do this - We have a requirement of sending the final load details to other teams.

What I’ve already tried - I didn’t find any options till now.

Some example code or error messages

Put code inside backticks
  to preserve indentation
    which is especially important 
      for Python and YAML! 

@prvishnukumarece dbt is not designed to send emails, it can only do things that you can already do in sql. You should use a BI tool or similar to schedule a query to run and then send the results to your stakeholders

Thank you for the information.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.