diff --git a/config/config.exs b/config/config.exs
index f674808..8a53e11 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -10,6 +10,7 @@ import Config
config :kmxgit,
ecto_repos: [Kmxgit.Repo],
git_ssh_url: "git@git.kmx.io",
+ mail_from: "git@kmx.io",
recaptcha_secret: System.get_env("RECAPTCHA_SECRET"),
recaptcha_site_key: System.get_env("RECAPTCHA_SITE_KEY")
diff --git a/lib/kmxgit/user_manager/user_notifier.ex b/lib/kmxgit/user_manager/user_notifier.ex
index 7722178..b616cd2 100644
--- a/lib/kmxgit/user_manager/user_notifier.ex
+++ b/lib/kmxgit/user_manager/user_notifier.ex
@@ -8,7 +8,7 @@ defmodule Kmxgit.UserManager.UserNotifier do
email =
new()
|> to(recipient)
- |> from({"kmxgit", "contact@git.kmx.io"})
+ |> from({"kmxgit", Application.fetch_env(:kmxgit, :mail_from)})
|> subject(subject)
|> text_body(body)