diff --git a/config.template/faf-java-api/faf-java-api.env b/config.template/faf-java-api/faf-java-api.env
index 3ab48e0b..58136a71 100644
--- a/config.template/faf-java-api/faf-java-api.env
+++ b/config.template/faf-java-api/faf-java-api.env
@@ -1,8 +1,6 @@
+FAF_DOMAIN=faforever.com
AVATAR_ALLOWED_FILE_EXTENSIONS=png,gif
AVATAR_DOWNLOAD_URL_FORMAT=http://localhost/avatars/%s
-AVATAR_IMAGE_HEIGHT=20
-AVATAR_IMAGE_WIDTH=40
-AVATAR_MAX_SIZE_BYTES=4096
AVATAR_TARGET_DIRECTORY=/content/avatars
ACTIVATION_URL_FORMAT=http://localhost:8020/account/activate?username=%s&token=%s
API_PORT=8010
@@ -19,7 +17,6 @@ LEAGUE_DATABASE_PASSWORD=banana
LEAGUE_DATABASE_USERNAME=faf-league-service
EMAIL_FROM_ADDRESS=admin@localhost
EMAIL_FROM_NAME=Your localhost FAF team
-FEATURED_MOD_BIREUS_URL_FORMAT=http://localhost/bireus/%s
FEATURED_MOD_URL_FORMAT=http://localhost/featured_mods/%s/%s
FEATURED_MODS_TARGET_DIRECTORY=/content/legacy-featured-mod-files
FORGED_ALLIANCE_EXE_PATH=/legacy-featured-mod-files/updates_faf_files/ForgedAlliance.exe
@@ -29,7 +26,6 @@ GITHUB_WEBHOOK_SECRET=false
JAVA_TOOL_OPTIONS=-Xms256m -Xmx256m
JWT_PRIVATE_KEY_PATH=/pki/secret.key
JWT_PUBLIC_KEY_PATH=/pki/public.key
-LOG_FILE_DIRECTORY=/logs
MANDRILL_API_KEY=false
MAP_DOWNLOAD_URL_FORMAT=http://localhost/maps/%s
MAP_LARGE_PREVIEWS_URL_FORMAT=http://localhost/maps/previews/large/%s
@@ -49,10 +45,8 @@ MOD_DOWNLOAD_URL_FORMAT=http://localhost/mods/%s
MOD_PREVIEW_URL_FORMAT=http://localhost/mods/thumbs/%s
MOD_TARGET_DIRECTORY=/content/mods
MOD_THUMBNAIL_TARGET_DIRECTORY=/content/mods/thumbs
-PASSWORD_RESET_EMAIL_BODY=Dear {0},\n\na new password was requested for your user.\nIf you did not request a new password, please delete this email.\n\nOtherwise please click on the following link to reset your password:\n-----------------------\n{1}\n-----------------------\n\nThanks,\n-- The FA Forever team"
PASSWORD_RESET_EMAIL_SUBJECT=FAForever - Password reset
PASSWORD_RESET_URL_FORMAT=http://localhost:8000/account/confirmPasswordReset?username=%s&token=%s
-REGISTRATION_EMAIL_BODY=Dear {0},\n\nwelcome to the FAForever community.\nPlease visit the following link to activate your FAF account:\n\n-----------------------\n{1}\n-----------------------\n\nThanks,\n-- The FA Forever team
REGISTRATION_EMAIL_SUBJECT=FAForever - Account validation
REPLAY_DOWNLOAD_URL_FORMAT=http://localhost/replays/%s
REPOSITORIES_DIRECTORY=/repositories
diff --git a/config.template/faf-java-api/mail/account-activation.html b/config.template/faf-java-api/mail/account-activation.html
new file mode 100644
index 00000000..df7c699f
--- /dev/null
+++ b/config.template/faf-java-api/mail/account-activation.html
@@ -0,0 +1,244 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ FAForever account activation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Forged Alliance Forever
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Activate your account
+
Dear {{username}},
+
welcome to the FAForever community. To finish your registration please activate your account and select a password.
Further information will be provided to you after activation.
+
+
+
+
+
+
Thanks,
+
-- The FAForever team
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
You don't know where this email is coming from?
+
Someone used your email address in the registration form on faforever.com. If you do not wish to be part of our community, just ignore or delete this email. No account was created yet.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config.template/faf-java-api/mail/password-reset.html b/config.template/faf-java-api/mail/password-reset.html
new file mode 100644
index 00000000..79365e02
--- /dev/null
+++ b/config.template/faf-java-api/mail/password-reset.html
@@ -0,0 +1,237 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Password reset
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Forged Alliance Forever
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Password reset
+
Dear {{username}},
+
a password reset was requested for your account. Click on the button to reset your password now.
If you did not request a new password or changed your mind, you can just delete this email.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config.template/faf-java-api/mail/welcome-to-faf.html b/config.template/faf-java-api/mail/welcome-to-faf.html
new file mode 100644
index 00000000..c88f9e72
--- /dev/null
+++ b/config.template/faf-java-api/mail/welcome-to-faf.html
@@ -0,0 +1,424 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Password reset
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Forged Alliance Forever
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Welcome, {{username}}
+
you just joined FAF, how great is that! We're a rather small community so every new member is precious to us.
+
This email contains the next steps to get you started.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Link your account to Steam
+
Before you can play games, we need to verify that you own the game. Please login to our website and link your account to Steam. Make sure your Steam profile and game list are public (you can follow this guide).