<% host = "#{ApplicationConfig['APP_PROTOCOL']}#{ApplicationConfig['APP_DOMAIN']}" %>
<% credits_url = url_for(host: host, controller: :credits, action: :index) %>
<% pro_membership_url = url_for(host: host, controller: :users, action: :edit, tab: "pro-membership") %>

Hi <%= @user.name %>, your Pro Membership will expire in <%= @days %> days on <%= @date.to_s(:long) %>!

Make sure you have enough credits for its renewal: <%= credits_url %>

You can also review your Pro Membership status: <%= pro_membership_url %>
