title: Using Django Admin Actions to send bulk emails
body: <p>I'm looking for a way to send bulk emails to users from a Django Admin Action. This is what I have thus far:</p>
  
  <pre><code>class MyUserAdmin(UserAdmin):
      list_display = ['username', 'email', 'first_name', 'last_name', 'is_active', staff]
      list_filter = ['groups', 'is_staff', 'is_superuser', 'is_active']
      actions = ['send_EMAIL']
  
  
      def send_EMAIL(self, request, queryset):
          from django.core.mail import send_mail
          for i in queryset:
              if i.email:
                  send_mail('Subject here', 'Here is the message.', 'from@example.com',[i.email], fail_silently=False)
              else:
          self.message_user(request, "Mail sent successfully ") 
      send_EMAIL.short_description = "Send an email to selected users"
  </code></pre>
  
  <p>This is fine but! I have to hardcode the actual message every single time. What if I could make it Dynamic? Instead of changing the message from the admin.py every single time I need to send a bulk email, why not create an intermediate Django admin action page that has a empty Text input field where I can write a new message to send every single time?</p>
  
  <p>How can this be done? I'm looking for a well detailed answer that is not open ended and generic.</p>