title: Path to image in Django Template for emails not work
body: <p>I want to add the images to my html template for the emails. In my project settings i have </p>
  
  <pre><code>MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
  MEDIA_URL = '/media/'
  </code></pre>
  
  <p>and</p>
  
  <pre><code>TEMPLATES = [
      {
          'BACKEND': 'django.template.backends.django.DjangoTemplates',
          'DIRS': [os.path.join(BASE_DIR, 'templates')]
          ,
          'APP_DIRS': True,
          'OPTIONS': {
              'context_processors': [
  ...
                  'django.template.context_processors.media',
              ],
          },
      },
  ]
  </code></pre>
  
  <p>in my url i have </p>
  
  <pre><code>urlpatterns = [
  
  
  ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
  </code></pre>
  
  <p>my project structure </p>
  
  <p><a href="https://i.stack.imgur.com/XiwQh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XiwQh.png" alt="enter image description here"></a></p>
  
  <p>my email method</p>
  
  <pre><code>message = render_to_string('recovery_password.html', {
              "code": code,
              "MEDIA_URL": settings.MEDIA_URL
          })
          mail_subject = 'Recovery password'
  
          email = EmailMessage(mail_subject,
                               message,
                               to=[to_email],
                               )
          email.content_subtype = "html"
          email.send()
  </code></pre>
  
  <p>and in the recovery_password.html i have link on the image</p>
  
  <pre><code>&lt;a&gt;&lt;img src="{{MEDIA_URL}}image1.png/&gt;&lt;/a&gt;
  </code></pre>
  
  <p>But my image in the email not work. It doesnt display in the temlate</p>
  
  <p><strong>UPD: My all structure of project</strong>
  <a href="https://i.stack.imgur.com/LAHXU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LAHXU.png" alt="enter image description here"></a></p>