---
title: "Discussion on \"Why You Should Never Send Emails Inside Your API Requests\" | Hashnode"
description: "Discussion on \"Why You Should Never Send Emails Inside Your API Requests\". Your signup endpoint looks fine in development. A user registers, you save the row, you call your email provider, and you return 201 Created. Everyone gets a welcome email. You ship it.\nThen productio"
url: "https://hashnode.com/posts/why-you-should-never-send-emails-inside-your-api-requests/6a97368f8a7f1f043a223d7c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why You Should Never Send Emails Inside Your API Requests](https://freecodecamp.org/news/why-you-should-never-send-emails-inside-your-api-requests?utm_source=hashnode&utm_medium=feed)

Your signup endpoint looks fine in development. A user registers, you save the row, you call your email provider, and you return 201 Created. Everyone gets a welcome email. You ship it. Then productio

Sep 1 · 10 min read · freecodecamp.org  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#api](https://hashnode.com/tag/api)
-   [#backend](https://hashnode.com/tag/backend)
-   [#architecture](https://hashnode.com/tag/architecture)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Chinedu Otutu](https://hashnode.com/@tutumantutu)

@tutumantutu · Lagos, Nigeria.

  
[View profile](https://hashnode.com/@tutumantutu)

Fullstack Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
